I've found threads that have addressed this problem before- but I'm a little confused as to why I'm encountering the problem in the first place.
I just tried building AMANDA from source- and during compiling, an error occurred stating that it "cannot find -lssl".
The other day I tried building another package from source (can't remember which) and got the same error.
I have OpenSSL 0.9.8g installed at /usr/local/ssl, and to my recollection, I haven't had problems compiling anything using the SSL library prior to this, and I'm not sure why I'm suddenly having problems.
I have run /sbin/ldconfig numerous times.
My /etc/ld.so.conf looks like:
Code:
/lib
/usr/local/lib
/usr/i486-slackware-linux/lib
/usr/lib/qt/lib
/usr/local/ssl/lib
/usr/local/pgsql/lib
/usr/local/ptlib/lib
...and LD_LIBRARY_PATH is:
Code:
:/usr/local/ssl/lib:/usr/local/pgsql/lib:/usr/local/ptlib/lib:/usr/local/h323plus/lib
contents of /usr/local/ssl/lib are:
Code:
drwxr-xr-x 2 root root 4096 2007-12-16 02:02 engines/
-rw-r--r-- 1 root root 2141214 2007-12-16 02:02 libcrypto.a
lrwxrwxrwx 1 root root 18 2007-12-16 02:02 libcrypto.so -> libcrypto.so.0.9.8*
-r-xr-xr-x 1 root root 1416533 2007-12-16 02:02 libcrypto.so.0.9.8*
-rw-r--r-- 1 root root 377236 2007-12-16 02:02 libssl.a
lrwxrwxrwx 1 root root 15 2007-12-16 02:02 libssl.so -> libssl.so.0.9.8*
-r-xr-xr-x 1 root root 279031 2007-12-16 02:02 libssl.so.0.9.8*
drwxr-xr-x 2 root root 4096 2007-11-25 03:19 pkgconfig/
I'm stumped!
I currently do not have LDFLAGS set- but when I *do* have it set to "-L/usr/local/ssl/lib", I no longer seem to be getting the compilation errors. I guess that makes sense- but why isn't libssl being found in the places it's being told to find it??
Any thoughts or insights??
Thanks,
- skubik.