in reply to Setting LD_LIBRARY_PATH for DynaLoader modules
See RE: Re: DBI, DBD::Oracle and LD_LIBRARY_PATH for a solution. You have to exec something else to flush ld's cache so that the next exec will look at the new value for LD_LIBRARY_PATH.
Also, you can perhaps link the extension with LD_RUN_PATH set to tell it where to find the shared libraries so that LD_LIBRARY_PATH will no longer be needed at run time.
You could also use low-level functions of Perl's DynaLoader to explicitly load the dynamic library before you load the DBI extension.
This post has been updated.
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (tye)Re: Setting LD_LIBRARY_PATH for DynaLoader modules
by Fastolfe (Vicar) on Jan 05, 2001 at 03:13 UTC | |
by BigJoe (Curate) on Jan 05, 2001 at 23:02 UTC | |
by Fastolfe (Vicar) on Jan 06, 2001 at 02:02 UTC |