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]

Reply via email to