|
Re: Dlopening documentation: msg#00020gnu.libtool.general
On Thu, Mar 04, 2004 at 06:29:16PM +0000, Gary V. Vaughan wrote: > If @var{dlname} is empty, then the library cannot be dlopened. > Otherwise, it gives the dlname of the library. So, if the library was > installed as @file{/usr/local/lib/libhello.la}, and the @var{dlname} was > @file{libhello.so.3}, then @file{/usr/local/lib/libhello.so.3} should be > dlopened. > > If your program uses this approach, then it should search the > directories listed in the @code{LD_LIBRARY_PATH}@footnote{@code{LIBPATH} > on AIX, and @code{SHLIB_PATH} on HP-UX.} environment variable, as well as > the directory where libraries will eventually be installed. Searching > this variable (or equivalent) will guarantee that your program can find > its dlopened modules, even before installation, provided you have linked > them using libtool. > > > I have a feeling that this is all done automatically by lt_dlopen. If it > isn't then it should be... Yes, it should be. BTW, how do we handle the case where need_lib_prefix!=no? -- albert chin (china@xxxxxxxxxxxxxxxxxx) |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | libtool versus gcj: 00020, Dr. Franz Fehringer |
|---|---|
| Next by Date: | Link flags that get ignored: 00020, Josep M. Perez Cancer |
| Previous by Thread: | Dlopening documentationi: 00020, Gary V. Vaughan |
| Next by Thread: | Re: Dlopening documentation: 00020, Bob Friesenhahn |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |