here is a guess (and it is ONLY that); since the linker is complaining about the ssl and crypto libraries. will it help if you rebuilt the ssl and crypto libraries with the sparc7 or sparc8 compiler ?
----- Original Message ----- From: "Jim Mack" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 24, 2003 2:12 PM Subject: RE: compiling 32bit binary on solaris 8 > > Thanks for lead, but it's still blowing up complaining about > linking against 64bit libs. This is for : > > solaris-sparcv7-gcc > solaris-sparcv8-gcc > solaris-sparcv9-gcc > > I really have no idea what to do. I have gone through all > the relevent Makefiles and cannot find where these libs are > getting built in 64bit. Does anyone know where this might be > happening? > > Thanks, > > -jim > > On Thu, 23 Oct 2003, Venkatesh Ramaswamy wrote: > > > Use sparcv7 or sparcv8 for the configure script. sparcv9 is sun4u and links in the 64-bit libraries. > > > > -----Original Message----- > > From: Jim Mack [mailto:[EMAIL PROTECTED] > > Sent: Thu 10/23/2003 6:19 PM > > To: [EMAIL PROTECTED] > > Cc: > > Subject: compiling 32bit binary on solaris 8 > > > > > > > > > > Hi, > > > > I am desperately trying to compile openssl-0.9.7b as 32bit > > since we have dependencies that require it. I am running : > > > > ./Configure --prefix=/usr/pkg/openssl -shared solaris-sparcv9-gcc -m32 > > > > Everything seems to go ok until the linking blows up since > > it's still makes the libs in 64 bit (errors below). I tried > > hacking the Makefiles etc and it's still doing this. I have > > done this before but for some reason this is not working > > this time. Any suggestions?? > > > > Thanks! > > > > LD_LIBRARY_PATH=..:$LD_LIBRARY_PATH \ > > gcc -o openssl -DMONOLITH -I.. -I../include > > -DOPENSSL_SYSNAME_ULTRASPARC -fPIC -DOPENSSL_THREADS > > -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 > > -m32 -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall > > -DB_ENDIAN -DBN_DIV2W -DMD5_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 ; \ > > fi > > ld: fatal: file ../libssl.so: wrong ELF class: ELFCLASS64 > > ld: fatal: file ../libcrypto.so: wrong ELF class: ELFCLASS64 > > ld: fatal: File processing errors. No output written to > > openssl > > collect2: ld returned 1 exit status > > make[1]: *** [openssl] Error 1 > > > > ______________________________________________________________________ > > 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]