It's been a long time since I've worked on HPUX, but I recall that the shl*
routines
support the SHLIB_PATH environment variable, completely analogous to
LD_LIBRARY_PATH.
I don't see why anyone should be having a problem here. Someone with access
to a
machine and manpages should of course correct me if I'm misremembering.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Levitte - VMS
> Whacker
> Sent: Monday, November 06, 2000 11:52 PM
> To: [EMAIL PROTECTED]
> Subject: Loading shared libraries under HP-UX on PA32
>
>
> I've had reports that it seems like shl_load() only loads a file from
> the current directory if the file given is something like "libcswift.sl".
> In the man page, the parameter is called "path", so I wouldn't be too
> surprised if the observation is correct as defined by the implementors
> of shl_load() or if there's a way for it to look along a path of
> directories, like dlopen() does.
>
> The man pages I've read are unfortunately not completely clear in this
> matter, so if someone with HP-UX experience could tell me what the
> story really is, I'd be grateful.
>
> Of course, the option is to move everything HP-UX-related to use dl*()
> instead of shl*() and we'd get rid of the problem (since dlopen() uses
> LD_LIBRARY_PATH), but that would mean throwing away all DSO support for
> HP-UX 10.20, and I wonder if we really want to do that...
>
> Another option is to implement support for something like
> LD_LIBRARY_PATH in the DSO code that uses shl_load().
>
> Comments?
>
> --
> Richard Levitte \ Spannv�gen 38, II \ [EMAIL PROTECTED]
> Chairman@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
> Redakteur@Stacken \ SWEDEN \ or +46-709-50 36 10
> Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED]
> Member of the OpenSSL development team: http://www.openssl.org/
> Software Engineer, Celo Communications: http://www.celocom.com/
>
> Unsolicited commercial email is subject to an archival fee of $400.
> See <http://www.stacken.kth.se/~levitte/mail/> for more info.
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> Development Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
>
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]