More information from 'make' regarding the openssl binary
1. make[2]: Entering directory `/home/app/openssl-0.9.8e/apps'
2. ( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto -ldl}";
LDCMD="${LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS
3. -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -march=pentium -DL_ENDIAN
-DTERMIO -O3 -fomit-frame-pointer -Wall
4. -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM
-DRMD160_ASM -DAES_ASM}";
5. LIBPATH=`for x in $LIBDEPS; do if echo $x | grep '^ *-L' > /dev/null
2>&1; then echo $x | sed -e 's/^ *-L//'; fi; done
6. | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`;
LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD}
7. ${LDFLAGS} -o ${APPNAME:=openssl} openssl.o verify.o asn1pars.o
req.o dgst.o dh.o dhparam.o enc.o passwd.o
8. gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o
dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o
9. s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o
10. 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 prime.o ${LIBDEPS} )
11. make[2]: Leaving directory `/home/app/openssl-0.9.8e/apps'
12. (cd ..; \
13. OPENSSL="`pwd`/util/opensslwrap.sh"; export OPENSSL; \
14. /usr/local/bin/perl tools/c_rehash certs)
15. Doing certs
From: Eli Shemer [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 16, 2007 5:48 AM
To: '[email protected]'
Subject: openssl faulty installation
Hey there,
I've recently installed openssl and I cannot create keys or certs with it
for some reason.
If any more information needed for analyzing please let me know.
Make test produced this at the end:
test normal x509v1 certificate
sh ./tx509 2>/dev/null
testing X509 conversions
p -> d
make[1]: *** [test_x509] Error 1
make[1]: Leaving directory `/home/app/openssl-0.9.8e/test'
make: *** [tests] Error 2
real example
[EMAIL PROTECTED]:~/openssl-0.9.8e/apps$ ./openssl genrsa -des3 -out privkey.pem
2048
Generating RSA private key, 2048 bit long modulus
............................................................................
............................+++
.....................................+++
e is 65537 (0x10001)
Illegal instruction
[EMAIL PROTECTED]:~/openssl-0.9.8e/apps$