[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

-lssl problem on debian sprac 64-bit



Hello All,

I'm trying to install some software on Debian (Squeeze) for Sparc 64-bit.

I have the following installed:

#> dpkg --get-selections | egrep -i -e 'ssl|tls'
libcurl3-gnutls                                 install
libcurl4-gnutls-dev                             install
libgnutls-dev                                   install
libgnutls26                                     install
libssl-dev                                      install
libssl0.9.8                                     install
openssl                                         install

but during 'make', I keep getting an error message that libssl can't be found. During the 'configure' script for this software, it was told to build for a 64-bit platform using the following:

#> CFLAGS=-m64 CXXFLAGS=-m64 LDFLAGS=-m64 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64 ./configure 

But the following is still observed in config.log

[...snip...]
configure:20961: WARNING: OpenSSL crypto library was not found
configure:20966: checking for TLSv1_method in -lssl
configure:20991: gcc -o conftest -m64  -m64 conftest.c -lssl  -lncurses  -m64 >&5
/usr/bin/ld: skipping incompatible /usr/lib/gcc/sparc-linux-gnu/4.4.5/../../../../lib64/libssl.so when searching for -lssl
/usr/bin/ld: skipping incompatible /lib/../lib64/libssl.so when searching for -lssl
/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libssl.so when searching for -lssl
/usr/bin/ld: skipping incompatible /usr/lib/gcc/sparc-linux-gnu/4.4.5/../../../libssl.so when searching for -lssl
/usr/bin/ld: skipping incompatible /usr/lib/gcc/sparc-linux-gnu/4.4.5/../../../libssl.a when searching for -lssl
/usr/bin/ld: skipping incompatible /usr/lib64/libssl.so when searching for -lssl
/usr/bin/ld: skipping incompatible /lib64/libssl.so when searching for -lssl
/usr/bin/ld: skipping incompatible /usr/lib64/libssl.so when searching for -lssl
/usr/bin/ld: skipping incompatible /usr/lib/libssl.so when searching for -lssl
/usr/bin/ld: skipping incompatible /usr/lib/libssl.a when searching for -lssl
/usr/bin/ld: cannot find -lssl
| #define HAVE_OPENSSL_TLS1_H 1
configure:21011: WARNING: OpenSSL protocol library was not found
| #define HAVE_OPENSSL_TLS1_H 1
| #define HAVE_OPENSSL_TLS1_H 1
| #define HAVE_OPENSSL_TLS1_H 1
| #define HAVE_OPENSSL_TLS1_H 1
ac_cv_header_openssl_tls1_h=yes
ac_cv_lib_ssl_TLSv1_method=no
HAVE_LIBWWW_SSL_DEFINE='0'
openssl_CFLAGS=''
openssl_LIBS=''
#define HAVE_OPENSSL_TLS1_H 1

So it finds the SSL libs but thinks they're incompatible, I'm guessing because of them being 32-Bit libs? I tried creating symlinks in /lib64 and /usr/lib64 but it still rejects them

How do I fix this? Do I need to download the source for openssl and compile it for my platform?

Thanks so much

Reply to: