Installation problem with OpenSSL
Folks, I am newbie in this forum and I am trying to install OpenSSL (openssl-0.9.7a) on a Unixbox running SCO-Unixware 2.1.2 I have followed all the directions listed in the files for installation. 1.) Untarred the compressed file 2.) ./config -prefix=/home -openssldir=/home/openssl (since I dont have a /usr/local in my filesystem) 3.) make (this is where my make fails) - if [ = hpux-shared -o = darwin-shared ] ; then \ cc -o openssl -DMONOLITH -I.. -I../include -DOPENSSL_THREADS -Kthread -DOPENSSL_N O_KRB5 -prefix=/home -openssldir=/home/openssl -O -DFILIO_H 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 ../libssl.a ../libcrypto.a -lsocket -lnsl -lresolv -lx ; \ else \ cc -o openssl -DMONOLITH -I.. -I../include -DOPENSSL_THREADS -Kthread -DOPENSSL_N O_KRB5 -prefix=/home -openssldir=/home/openssl -O -DFILIO_H 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 -lresolv -lx ; \ fi UX:ld: ERROR: fatal error: library not found: -lsocket *** Error code 1 (bu21) UX:make: ERROR: fatal error. *** Error code 1 (bu21) UX:make: ERROR: fatal error. Any info/help would be appreciated. Thanks, Anand __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
RE: Installation problem with OpenSSL
Thanks! I did that and it worked thanks. But now it complains about ld:ERROR: fatal error: library not found: -lthread Thanks, Anand -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Saju Paul Sent: Friday, March 28, 2003 10:46 AM To: [EMAIL PROTECTED] Subject: Re: Installation problem with OpenSSL Try to locate the socket library on your system. Define the path with the -L switch. Hope this helps. Saju - Original Message - From: Anand Raghavan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 28, 2003 9:46 AM Subject: Installation problem with OpenSSL Folks, I am newbie in this forum and I am trying to install OpenSSL (openssl-0.9.7a) on a Unixbox running SCO-Unixware 2.1.2 I have followed all the directions listed in the files for installation. 1.) Untarred the compressed file 2.) ./config -prefix=/home -openssldir=/home/openssl (since I dont have a /usr/local in my filesystem) 3.) make (this is where my make fails) -- -- - if [ = hpux-shared -o = darwin-shared ] ; then \ cc -o openssl -DMONOLITH -I.. -I../include -DOPENSSL_THREADS -Kthread -DOPENSSL_N O_KRB5 -prefix=/home -openssldir=/home/openssl -O -DFILIO_H 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 ../libssl.a ../libcrypto.a -lsocket -lnsl -lresolv -lx ; \ else \ cc -o openssl -DMONOLITH -I.. -I../include -DOPENSSL_THREADS -Kthread -DOPENSSL_N O_KRB5 -prefix=/home -openssldir=/home/openssl -O -DFILIO_H 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 -lresolv -lx ; \ fi UX:ld: ERROR: fatal error: library not found: -lsocket *** Error code 1 (bu21) UX:make: ERROR: fatal error. *** Error code 1 (bu21) UX:make: ERROR: fatal error. -- -- Any info/help would be appreciated. Thanks, Anand __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
RE: Installation problem with OpenSSL
I did a find on my system for thread* and found that the files libthread.so and libthread.so.1 reside in /usr/lib I included this line in the Makefile: -L/usr/lib/lthread and still I get the error message: UX:ld: ERROR: fatal error: library not found: -lthread -Anand -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Richard Koenning Sent: Friday, March 28, 2003 11:05 AM To: [EMAIL PROTECTED] Subject: RE: Installation problem with OpenSSL At 10:54 28.03.2003 -0500, you wrote: Thanks! I did that and it worked thanks. But now it complains about ld:ERROR: fatal error: library not found: -lthread Replace in Saju's answer socket with thread and repeat the procedure. Ciao, Richard -- Dr. Richard W. Könning Fujitsu Siemens Computers GmbH, EP LP COM 5 Phone/Fax: +49-89-636-47852 / 47655 E-Mail: [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]