Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] shared libraries [pcre-ocaml]
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <xavier.leroy@i...>
Subject: Re: [Caml-list] shared libraries [pcre-ocaml]
> Yeah. The correct answer is to fix the stupid dynamic
> loader hackery used in unix systems. Obviously,
> there should be a way to load a library from
> the directory in which the caller is installed:

Agreed.  The Win32 dynamic loader gets this right.  Another workaround
would be to have an API to manipulate the search path of the dynamic
loader at run-time, but setenv("LD_LIBRARY_PATH", ...) doesn't work
because usually the value of LD_LIBRARY_PATH is cached at program
start-up time.

- Xavier Leroy
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners