FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-09-2011, 08:13 PM
"A E [Gmail]"
 
Default -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 * * * * * * * * * * * * * * * * installlibcurl4-gnutls-dev * * * * * * * * * * * * * * install

libgnutls-dev * * * * * * * * * * * * * * * * * installlibgnutls26 * * * * * * * * * * * * * * * * * * install

libssl-dev * * * * * * * * * * * * * * * * * * *installlibssl0.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 foundconfigure: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 1configure: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=yesac_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
 

Thread Tools




All times are GMT. The time now is 05:03 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org