One of our older servers is running RH 6.2 with openssl 0.9.5 (patched) at
/usr. This is required for legacy software. If I just install the new
openssl 0.9.6 in /usr/local without linking it via ldconfig, and try
compiling php (as an Apache DSO module) with --with-openssl=/usr/local, we
get the error:

Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: undefined symbol: sk_new_null

If I then link the new openssl, our legacy software defaults to loading the
new openssl library files, which causes it to stop working. My question is:
Is it possible to compile php 4.3.4 with openssl support without having
openssl linked server wide, and if so, what compile commands do we need to
send, and/or how should we compile openssl to accomplish this task. php
4.3.4 requires openssl 0.9.6 or higher, which is why we are doing this.

Thanks for any help on this one.

Rob

Reply via email to