Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Unable to comile lablgl
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Remi VANICAT <vanicat@l...>
Subject: Re: [Caml-list] Unable to comile lablgl
Johann Spies <jhspies@adept.co.za> writes:

> The following happened when I tried to compile lablgl:
> 
> js-11:45:07-/usr/local/src/lablGL-0.97$make
> ocamlmktop -I . -I `ocamlc -where`/labltk -o lablgltop \
>     -dllpath `ocamlc -where`/labltk -dllpath `ocamlc
> -where`/lablGL \
>    labltk.cma lablgl.cma togl.cma
> Error on dynamically loaded library: ./dlltogl.so: undefined
> symbol: XmuLookupStandardColormap
> make: *** [lablgltop] Error 2
> ------------------------------
> 
> And I have no idea how to fix it.  Can somebody help me with
> this please?

yes, you should in the Makefile.config change

# Where to find X headers
XINCLUDES = -I/usr/X11R6/include
# X libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0)
# XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lX11

into

# Where to find X headers
XINCLUDES = -I/usr/X11R6/include
# X libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0)
XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lX11

At least it worked for me...
-- 
Rémi Vanicat
vanicat@labri.u-bordeaux.fr
http://dept-info.labri.u-bordeaux.fr/~vanicat
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr