Hi,
I found a thread concerning problems while installing OpenSSL on
AMD64/Solaris 10 here:
http://www.mail-archive.com/openpkg-users@openpkg.org/msg02610.html
and would like to know if somebody already found a solution to this problem?
I also tried to compile OpenSSL on AMD64/Solaris 10 and had the same
error...
/usr/lib/amd64/crt1.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
'nm' doesn't recognize the library either:
$ /app/openpkg/bin/nm /usr/lib/amd64/crt1.o
/app/openpkg/bin/nm: /usr/lib/amd64/crt1.o: File format not recognized
Probably it doesn't make sense to try a binary installation using
/openpkg/bin/openpkg rpm -Uvh
ftp://ftp.openpkg.org/release/2.5/BIN/ix86-solaris10/openssl-0.9.8a-2.5.0.ix86-solaris10-openpkg.rpm
does it?
Thanks, Dietrich
Here some of the lines before the error:
---
gcc -DMONOLITH -I.. -I../include -m64 -O3 -Wall -DL_ENDIAN
-DMD32_REG_T=int -DMD5_ASM -c -o onssl.o openssl.c
rm -f openssl
shlib_target=; if [ -n "" ]; then shlib_target="solaris-shared"; fi; if [ "" = "darwin-shared" ]
; then LIBRARIES="../libssl.a ../libcrypto.a" ; else LIBRARIES="-L.. -lssl -L.. -lcrypto" ; fi; /app/openpkg/bin/make
-f ../Makefile.shared -e APPNAME=openssl OBJECTS="openssl.o verify.o asn1pars.o req.o
dgst.o dh.o dhparam.o enc.oasswd.o gendh.o errstr.o ca.o pkcs7.o
crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparao 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_rd.o version.o sess_id.o ciphers.o nseq.o pkcs12.o
pkcs8.o spkac.o smime.o rand.o engine.o ocsp.orime.o" LIBDEPS=" -lsocket
-lnsl -ldl" link_app.
( :; LIBDEPS="-L.. -lssl -L.. -lcrypto -lsocket -lnsl
-ldl"; LDCMD="gcc";DFLAGS="-m64 -O3 -Wall
-DL_ENDIAN -DMD32_REG_T=int -DMD5_ASM"; LIBPATH=; LIBPATH=;
LD_LIBRARY_PATH=: -o
openssl openssl.o verify.o asn1pars.o req.o dgst.o dh.o
dhparam.o c.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o
rsa.o rsautl.o dsa.o dsaparam.o ec.o earam.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 p_rand.o
version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o
rand.o engine.o op.o prime.o )
/usr/lib/amd64/crt1.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[2]: *** [link_app.] Error 1
make[1]: *** [openssl] Error 2
make: *** [build_apps] Error 1
error: Bad exit status from /app/openpkg/RPM/TMP/rpm-tmp.7117 (%build)
RPM build errors:
Bad exit status from /app/openpkg/RPM/TMP/rpm-tmp.7117 (%build)
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List openpkg-users@openpkg.org