develooper Front page | perl.perl5.porters | Postings from April 2006

Re: Question about dynamic libraries on AIX 5.1

Thread Previous | Thread Next
From:
Steven Hirsch
Date:
April 2, 2006 03:16
Subject:
Re: Question about dynamic libraries on AIX 5.1
Message ID:
20060401234800.32673.qmail@lists.develooper.com
H.Merijn Brand wrote:

>> the top of the search results!).  AIX does have LD_LIBRARY_PATH - is that
>> related?

> Related yes, but only to where the lib is found, not to when it's loaded.
> LD_LIBRARY_PATH is similar to SHLIB_PATH (HP-UX supports both from the same
> shared library, and each library can tell which to support, and which to
> prefer first just to add to the confusion)
> 
> LD_PRELOAD is to tell each app to preload a specific library, so it is loaded
> before the app starts

AIX supports neither LD_PRELOAD nor LD_LIBRARY_PATH.  'LIBPATH' is 
equivalent to the latter, but there is currently no notion of 
LD_PRELOAD.  You can get the same effect with clever use of the linker 
and binder, but it can be unintuitive to say the least.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About