[Box Backup-dev] RC3 Solaris testing

Chris Wilson boxbackup-dev at fluffy.co.uk
Sat Feb 18 15:09:30 GMT 2006


Hi all,

I'm trying to test on Solaris 2.9 on x86, which doesn't have OpenSSL 
installed. I built it myself with the following command:

   ./Configure --openssldir=$HOME/openssl-solaris-x86 solaris-x86-cc

And tried to configure Box thus:

   ./configure --with-ssl-lib=$HOME/openssl-solaris-x86/lib \
     --with-ssl-headers=$HOME/openssl-solaris-x86/include

But configure fails to detect it, with the following error in config.log:

configure:7665: checking for SSL_read in -lssl
configure:7695: g++ -o conftest -g -O2
   -I/home/users/g/gc/gcc/openssl-solaris-x86/include
   -L/home/users/g/gc/gcc/openssl-solaris-x86/lib conftest.cc
   -lssl -lcrypto -lsocket -lnsl -lz -lrt  >&5
Undefined                       first referenced
  symbol                             in file
dlopen                          /home/users/g/gc/gcc/openssl-solaris-x86/lib
/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit dependency 
/usr/lib/libdl
.so.1)

If I export LIBS=-ldl first, then it works. Any ideas how to fix this 
properly? Maybe add -ldl to this line in ax_check_ssl.m4?

   AC_CHECK_LIB([ssl], [SSL_read],, [ax_check_ssl_found=no], [-lcrypto])

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |




More information about the Boxbackup-dev mailing list