Possibly stupid question but were you using GNU Make to build this or Solaris Make?
LDB wrote:
From the looks of it ... you need to add more libraries to your path or one of your paths to libraries is wrong or non-existent.
Thanks,
LDB
J.D. Bronson wrote:
I am running a beta of solaris 10 and have noticed that I cannot build OpenSSL with 'shared' libraries'....
I built binutils and then compiled GCC 3.4.0 with them:
Configured with: /var/gcc-3.4.0/configure --with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld --disable-nls --enable-threads --enable-shared --enable-multilib --with-cpu=pentium4 --enable-languages=c,c++,f77 Thread model: posix gcc version 3.4.0
(everything built fine and build fine)
Then I ran configure on OpenSSL (edited the config for -mtune=pentium4 instead of -m486) and used 'shared threads zlib'.
Then tried building it: ... ... LD_LIBRARY_PATH=..:$LD_LIBRARY_PATH \ gcc -o openssl -DMONOLITH -I.. -I../include -fPIC -DZLIB - DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H - DOPENSSL_NO_KRB5 -DOPENSSL_NO_ASM -O3 -fomit-frame-pointer - mcpu=pentium4 -Wall -DL_ENDIAN -DOPENSSL_NO_INLINE_ASM openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o -L.. -lssl -L.. -lcrypto -lsocket -lnsl -ldl -lz ; \ fi ../libcrypto.so: undefined reference to [EMAIL PROTECTED]' ../libcrypto.so: undefined reference to [EMAIL PROTECTED]' ../libcrypto.so: undefined reference to [EMAIL PROTECTED]' ../libcrypto.so: undefined reference to [EMAIL PROTECTED]' collect2: ld returned 1 exit status make[1]: *** [openssl] Error 1 make[1]: Leaving directory `/junk/openssl-0.9.7d/apps' make: *** [sub_all] Error 1
..It still fails to build. It will build statically however just fine!!!
But I need 'shared' as I cannot seem to get SASL to build properly w/o shared libraries.
Anyone have any ideas here? - thanks!
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
-- Darin Holloway Systems Administrator and Web Developer -- Bluegrass Network, LLC
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]