Hi, I'm trying to compile php as an apache 1.3 module and I need that libphp4.so does *not* link against /usr/lib/libssl.so and /usr/lib/libcrypto.so.
First I tried to compile without mentioning openssl in configure parameters: /configure --with-apxs=/usr/local/apache27/bin/apxs --enable-versioning \ --with-mysql=/usr/ --enable-track-vars --with-gd=/usr/local/ --enable-ftp \ --with-interbase --with-ldap --with-mcrypt --with-mhash --with-zlib \ --with-png-dir=/usr/lib --with-pgsql --with-ttf --with-t1lib=/usr \ --with-freetype-dir=/usr/local --with-mm and `ldd libphp4.so` showed that it links against libssl.so and libcrypto.so from /usr/lib. Then I tried to persuade it to link against libssl.a and libcrypto.a from /usr/local/lib (I don't really need any ssl support in php, just want to avoid linking it against /usr/lib versions of openssl libraries. The /usr/local/lib static ones are OK): ./configure --blah-blah-as-above --with-openssl=/usr/local and, what-a-surprise, `ldd libphp4.so` = /usr/lib/lib(ssl|crypto).so again! The apache is 1.3.27 with mod_ssl statically linked against /usr/local/lib/lib(ssl|crypto).a Is it a bug in PHP that it uses libs from /usr/lib even if told to use ones from /usr/local/lib ? Or am I just doing something wrong? Why does php link to openssl libs anyway? Is it somehow related to the fact that I'm using mod_ssl? Thanks for any hints, Robert PS: please Cc: my address when replying. Thanks. -- Robo Trebula [EMAIL PROTECTED] -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php