Hello,

I'm working with Solaris 11.3 32Bit.

I've compiled and installed OpenSSL 1.0.2g with SSLv2 support (yeah, I know, 
but I can't get my setup to work without it) using:
cd /basedir/installers/openssl-1.0.2g
./Configure shared --openssldir=/basedir/openssl/1.0.2g enable-ssl2 
solaris-x86-gcc
make clean
make depend
make
make install

My system has OpenSSL 1.0.1q pre-installed.
My runtime search path for libraries is:
# output of crle
Configuration file [version 4]: /var/ld/ld.config  
  Platform:     32-bit LSB 80386
  Default Library Path (ELF):   /lib:/usr/lib:/opt/oracle/instantclient
  Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system default)

I've compiled Apache HTTPD 2.4.18 with the following options:
cd /basedir/installers/httpd-2.4.18
OPENSSLDIR=/basedir/openssl/1.0.2g \
PKG_CONFIG_PATH=$OPENSSLDIR/lib/pkgconfig:$PKG_CONFIG_PATH \
; \
./configure --prefix=/basedir/apache2/2.4.18 \
--enable-rewrite --enable-so --enable-dav --enable-deflate \
--enable-authnz-ldap --enable-ldap --with-ldap \
--enable-ssl --with-ssl=$OPENSSLDIR \
--disable-version \
--with-pcre --with-mpm=prefork --enable-nonportable-atomics=yes 
--with-included-apr --with-crypto \
CPPFLAGS="-I$OPENSSLDIR/include" \
LDFLAGS="-L$OPENSSLDIR/lib -R $OPENSSLDIR/lib"
nano srclib/apr/libtool # fix export_symbols_cmds global_symbols_pipe bug
gmake
gmake install

When I export LD_LIBRARY_PATH in envvars using the OPENSSLDIR/lib, apache via 
PHPInfo finds 1.0.2g. When I don't use LD_LIBRARY_PATH, the system 1.0.1q is 
used.
Can I do something about this? Or is this effect because of PHP?

Regards,
Daniel Poggenpohl

Dipl.-Inf. Daniel Poggenpohl
FernUniversität in Hagen
Zentrum für Medien und IT (ZMI)
Universitätsstraße 21
58084 Hagen
AVZ, Raum A107
Tel.: +49 (2331) 987-2801
Fax: +49 (2331) 987-2720



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to