Re: Installation problem with OpenSSL
- a '.so' is a shared object I think what you need to find is ".a" file Saju - Original Message - From: "Anand Raghavan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 11:41 AM Subject: 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] __ 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]
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]
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..
If I would offer my best guess, I would say that your openssl libs were compiled for a CISC architecture (such as Intel), the key words "586" and "little endian" giving clue. I can't imagine how if you compiled the openssl libs yourself, but it could happen if you installed an RPM built for CISC. Another possibility is that the configure script couldn't correctly guess your architecture (isn't hardhat for embedded systems?), and made a bad guess, though I am surprised the compile would have succeeded. I would recommend to recompile openssl with "linux-ppc" as the target, and see if you get better results. Keary Suska Esoteritech, Inc. "Leveraging Open Source for a better Internet" From: Sujatha Mukunthan <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Wed, 21 Nov 2001 10:08:23 +0100 To: [EMAIL PROTECTED] Subject: Installation problem with OpenSSL.. Dear OpenSSL team, I am a user of "OpenSSH" and when I try to self-compile openssh for my PowerPC, it needs also the OpenSSL libraries. So, due to the above reasons, I had to also get OpenSSL installed on my powerPC inorder to get a running version of openSSL. But during the installation (at "make") of openSSL, I have a problem. I have just pasted down the output which appeared after the make process on my PowerPC. Please do suggest me with some solutions. PS: I had mounted the sources required for the OpenSSL for my PowerPC from a PC, where already a pre-complied version of openSSH and OpenSSL were existing. Your's sincerely, Suja. Output: File in wrong format: failed to merge target specific data of file ../libcrypto.a(rc5_skey.o) sh: syntax error near unexpected token `../libcrypto.a(r' root:/openssh-2.9p1 > /usr/powerpc-hardhat-linux/bin/ld: r586-elf.o: compiled for a little endian system and target is big endian sh: /usr/powerpc-hardhat-linux/bin/ld:: No such file or directory root:/openssh-2.9p1 > File in wrong format: failed to merge target specific data of file ../libcrypto.a(r586-elf.o) -- Sujatha Mukunthan SW-Technology(PTT) ++41 (0)1 / 922 - 69 42 (Tel) Siemens Building Technology AG ++41 (0)1 / 922 - 69 69 (Fax) CH-8708, Switzerland. mailto: [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: Installation problem with OpenSSL..
Hi At 10:08 21.11.2001 +0100, you wrote: >PS: I had mounted the sources required for the OpenSSL for my PowerPC from >a PC, where already a pre-complied version of openSSH and OpenSSL were >existing. > >Your's sincerely, >Suja. > >Output: > File in wrong format: failed to merge target specific data of file > ../libcrypto.a(rc5_skey.o) >sh: syntax error near unexpected token `../libcrypto.a(r' >root:/openssh-2.9p1 > /usr/powerpc-hardhat-linux/bin/ld: r586-elf.o: >compiled for a little endian system and target is big endian >sh: /usr/powerpc-hardhat-linux/bin/ld:: No such file or directory >root:/openssh-2.9p1 > File in wrong format: failed to merge target >specific data of file ../libcrypto.a(r586-elf.o) make clean may help regards Erich Titl __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]