Hello,

 On Wednesday, April 20, 2005 at 18:49:53 +0200, Alain Guibert wrote:

> during OpenSSL 0.9.7g build, "make test" fails:
>| ../util/shlib_wrap.sh ./destest
>| ./destest: can't load library '../util/../libcrypto.so.0.9.7 
>../util/../libssl.so.0.9.7'

These symptoms are the same with all OpenSSL versions since 0.9.7g,
including all 0.9.8*, and latest CVS HEAD, for shared builds. The
problem seems to be in util/shlib_wrap.sh, where LD_PRELOAD is set to
both the just built libcrypto and libssl, separated by a space (for
all platforms except BSD):

|       case "$SYSNAME" in
|       *BSD)   LD_PRELOAD="$LIBCRYPTOSO:$LIBSSLSO" ;;  # *BSD
|       *)      LD_PRELOAD="$LIBCRYPTOSO $LIBSSLSO" ;;  # SunOS, Linux, ELF 
HP-UX
|       esac

However for some reason my old Linux system doesn't allow space as
separator in LD_PRELOAD. It wants a colon, just like BSD. And then
"make test" of a shared OpenSSL becomes succesfull.

I suppose ld.so is responsible for this LD_PRELOAD space or colon
behaviour: Here it's version 1.8.10.


Alain.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to