Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Problem building O'Caml 3.03-alpha
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alain Frisch <frisch@c...>
Subject: Re: [Caml-list] Problem building O'Caml 3.03-alpha
On Mon, 15 Oct 2001, Richard Nyberg wrote:

> # ./configure \
> -prefix /pkg/ocaml/3.03-alpha \
> -libdir /pkg/ocaml/3.03-alpha/lib -with-pthread \
> -tkdefs '-I/pkg/tcltk/8.3.3/include' \
> -tklibs '-Wl,-rpath=/pkg/tcltk/8.3.3/lib,-rpath-link=/pkg/tcltk/8.3.3/lib -L/pkg/tcltk/8.3.3/lib -ltk8.3 -ltcl8.3'
> -------------

> ../../../boot/ocamlrun ../../../ocamlc -I ../../../stdlib -linkall -o labltktop -I ../support \
>        -I ../../../toplevel toplevellib.cma labltk.cma \
>        -I ../../unix unix.cma \
>        -I ../../str str.cma \
>        `if true; then echo -dllpath /pkg/ocaml/3.03-alpha/lib/labltk; fi` \
>        topmain.cmo
> Error on dynamically loaded library: Shared object "libtk8.3.so" not found

Maybe you can try to define and export
LD_LIBRARY_PATH=/pkg/tcltk/8.3.3/lib


Hope this helps ...


Alain

-------------------
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