-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Daniel, On 4/7/16 11:21 AM, Poggenpohl, Daniel wrote: > 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: You need to fix that ... right now. When you say "my setup won't work without it", what do you mean? Please tell me you accidentally typed "SSLv2" instead of "SSLv3", and meant "SSLv3". > My system has OpenSSL 1.0.1q pre-installed. Okay. > 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 \ Okay. > 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? That's totally expected. When you compiled httpd, the - --with-ssl=$OPENSSLDIR really only chose the library header files to use for the compilation. Since OpenSSL is (likely) compiled as a shared-library, the linking is actually done at runtime instead of compile-time. LD_LIBRARY_PATH is how dynamic linking actually locates the libraries that will be used at runtime. Your httpd build information is not retained, and you need to set up the environment to get what you want. Is there a particular problem with setting LD_LIBRARY_PATH, or did you just want to know if you could avoid it? - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlcGoN0ACgkQ9CaO5/Lv0PBWUACcCTt4QOC9+nuxGqRUi1m5vI76 AC4An1vY4posMmjV5ODqG58xYNZi4DYL =s0+x -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx