I am getting 2 errors

 1)unable to locate archive symbol table libssl.a

 2)unknown file type for libcrypto.a


 The -L <path> and -l <lib name> are correct and being called by cc compiler
 which is Sun Workshop 6.2. I am using open ssl 0.9.6.d.  I have also tried 
 directory names  in -L to have no dashes and periods ( - and .) but still got
 the same problem. By default -L was ".." and I thought that might be causing
 cc to error out. Now I am thinking libssl and libcrypto are incorrectly
 getting built somehow, Ihave the same problem with openssl 0.9.6.c.
 The build runs for a long time but always errors here.
 I did a "ar -t <lib name> and see there are object files
 there for the libssl and libcrypto libraries.
 
 
 A file command on the libcrypto.a library returns:

 libcrypto.a:    current ar archive, not a dynamic executable or shared object
 
 and checks out.


 Has anyone seen this problem and what is the workaround/fix?
 
 My env is:
 
 SunOS honolulu 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-5_10
 Compiler: SUNWspro6.2 


make error:
==========

 -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -KPIC -xtarget=ultra 
-xarch=v8plus -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DBN_DIV2W -DULTRASPARC 
-DMD5_ASM   -c openssl.c -o openssl.o
rm -f openssl
/opt/SUNWspro6.2/bin/cc -o openssl -DMONOLITH -I../include -KPIC -DTHREADS 
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -KPIC -xtarget=ultra -xarch=v8plus -xO5 
-xstrconst -xdepend -Xa -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -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  -L/honolulu1/openssl-0.9.6d -lssl -L/honolulu1/openssl-0.9.6d -lcrypto 
-lsocket -lnsl -ldl
ld: warning: file /honolulu1/openssl-0.9.6d/libssl.a ignored: unable to locate 
archive symbol table
ld: fatal: library -lssl: not found
ld: fatal: file /honolulu1/openssl-0.9.6d/libcrypto.a: unknown file type
ld: fatal: file /honolulu1/openssl-0.9.6d/libcrypto.a: unknown file type
ld: fatal: library -lcrypto: not found
ld: fatal: File processing errors. No output written to openssl
make[1]: *** [openssl] Error 1
make[1]: Leaving directory `/honolulu1/openssl-0.9.6d/apps'
make: *** [sub_all] Error 1
honolulu% ls ..



Thanks,
Al

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to