Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2002-04-24 (12:14)
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 Archives:
Bug reports: FAQ:
Beginner's list: