Upgrade of php => libcrypto not found
Im trying to upgrade php on a FreeBSD-server from 4.3.10 to 4.4.0 (running DirectAdmin).I use: --with-openssl=/usr/local/ssl
I get:
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... no
configure: error: libcrypto not found!
In my config.log:
...
...
...
/usr/lib/libgssapi.so: undefined reference to `krb5_parse_name'
/usr/lib/libgssapi.so: undefined reference to `krb5_cc_destroy'
/usr/lib/libgssapi.so: undefined reference to `krb5_store_keyblock'
configure: failed program was:
#line 17679 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char CRYPTO_free();
int main() {
CRYPTO_free()
; return 0; }
I got these files:
bash-2.05b# ll /usr/lib/libcrypt*
-r--r--r-- 1 root wheel - 33K Oct 27 2003 /usr/lib/libcrypt.a
lrwxrwxrwx 1 root wheel - 13B Jan 27 2004 /usr/lib/libcrypt.so@ -> libcrypt.so.2
-r--r--r-- 1 root wheel - 27K Oct 27 2003 /usr/lib/libcrypt.so.2
lrwxrwxrwx 1 root wheel - 14B Jan 27 2004 /usr/lib/libcrypto.so@ -> libcrypto.so.3
-r--r--r-- 1 root wheel - 1000K Nov 8 14:13 /usr/lib/libcrypto.so.3
-r--r--r-- 1 root wheel - 1M Oct 27 2003 /usr/lib/libcrypto_p.a
bash-2.05b# ll /usr/local/ssl/lib/
total 3638
drwxr-xr-x 3 root wheel - 512B Nov 8 14:01 ./
drwxr-xr-x 9 root wheel - 512B Nov 8 13:28 ../
-rw-r--r-- 1 root wheel - 1M Nov 8 13:28 libcrypto.a
-rw-r--r-- 1 root wheel - 250K Nov 8 13:28 libssl.a
drw-r--r-- 2 root wheel - 512B Feb 1 2004 pkgconfig/
I can't understand why it can't find libcrypto...any ideas?
Tried setting LD_LIBRARY_PATH, etc etc...no go.
Also tried installing openssl-0.9.7i from scratch to /usr/local/ssl...but it didn't help at all. Is libcrypto really a part of openssl? Or how is it installed/updated?
Thanks for your help...