hi
i'm having problems trying to build OpenSSL 0.9.8a on an Intel based Mac OS X 10.4.6. if i've understood correctly, building goes fine up to the point where the openssl binary is being linked. at that point i get lots of errors about undefined symbols and the build terminates (see attached typescript for details): /usr/bin/ld: Undefined symbols: _X509_STORE_set1_param _X509_VERIFY_PARAM_free ... earlier in the build i get messages like this which seem to be related to the problem: ranlib: file: ../libcrypto.a(ebcdic.o) has no symbols any ideas on how to fix this? aspa |
[hidden email] wrote:
> hi > > i'm having problems trying to build OpenSSL 0.9.8a on an Intel based Mac OS X 10.4.6. > > if i've understood correctly, building goes fine up to the point where the openssl binary is > being linked. at that point i get lots of errors about undefined symbols and the build > terminates (see attached typescript for details): > > /usr/bin/ld: Undefined symbols: > _X509_STORE_set1_param > _X509_VERIFY_PARAM_free > ... > > earlier in the build i get messages like this which seem to be related to the problem: > > ranlib: file: ../libcrypto.a(ebcdic.o) has no symbols > > > any ideas on how to fix this? try a recent snapshot from the stable branch and let openssl build shared libraries (see first problem mentioned in the PROBLEM file). Cheers, Nils ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [hidden email] Automated List Manager [hidden email] |
On 2006-04-14, at 12.26, Nils Larsch wrote: > try a recent snapshot from the stable branch and let openssl > build shared libraries (see first problem mentioned in the > PROBLEM file). i tried the workaround described in the PROBLEMS file with openssl-0.9.8-stable-SNAP-20060417. openssl binary seems to compile fine but i still get errors building the tests: ... making all in test... cc -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN - DHAVE_DLFCN_H -O3 -fomit-frame-pointer -fno-common -c -o bntest.o bntest.c ( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto }"; LDCMD="$ {LDCMD:-cc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS -D_REENTRANT - DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -fno-common}"; LIBPATH=`for x in $LIBDEPS; do if echo $x | grep '^ *-L' > /dev/null 2>&1; then echo $x | sed -e 's/^ *-L//'; fi; done | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`; LD_LIBRARY_PATH=$LIBPATH: $LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o ${APPNAME:=bntest} bntest.o $ {LIBDEPS} ) /usr/bin/ld: Undefined symbols: _BN_GF2m_add _BN_GF2m_arr2poly _BN_GF2m_mod _BN_GF2m_mod_div _BN_GF2m_mod_exp _BN_GF2m_mod_inv _BN_GF2m_mod_mul _BN_GF2m_mod_solve_quad _BN_GF2m_mod_sqr _BN_GF2m_mod_sqrt _BN_generate_prime_ex collect2: ld returned 1 exit status make[2]: *** [link_app.] Error 1 make[1]: *** [bntest] Error 2 make: *** [build_tests] Error 1 here's the build procedure i'm using: cp apps/Makefile apps/Makefile.dist cp test/Makefile test/Makefile.dist sed -e 's/LIBCRYPTO=-L.. -lcrypto/LIBCRYPTO=..\/libcrypto.a/ s/LIBSSL=-L.. -lssl/LIBSSL=..\/libssl.a/' apps/Makefile.dist > apps/ Makefile sed -e 's/LIBCRYPTO=-L.. -lcrypto/LIBCRYPTO=..\/libcrypto.a/ s/LIBSSL=-L.. -lssl/LIBSSL=..\/libssl.a/' test/Makefile.dist > test/ Makefile ./config --prefix=/Users/aspa/tmp/098a -- aspa ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [hidden email] Automated List Manager [hidden email] |
Marko Asplund wrote:
> > On 2006-04-14, at 12.26, Nils Larsch wrote: > >> try a recent snapshot from the stable branch and let openssl >> build shared libraries (see first problem mentioned in the >> PROBLEM file). > > i tried the workaround described in the PROBLEMS file with > openssl-0.9.8-stable-SNAP-20060417. openssl binary seems to compile fine > but i still get errors building the tests: > > ... > making all in test... > cc -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN > -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -fno-common -c -o bntest.o > bntest.c > ( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto }"; > LDCMD="${LDCMD:-cc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS -D_REENTRANT > -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -fno-common}"; > LIBPATH=`for x in $LIBDEPS; do if echo $x | grep '^ *-L' > /dev/null > 2>&1; then echo $x | sed -e 's/^ *-L//'; fi; done | uniq`; LIBPATH=`echo > $LIBPATH | sed -e 's/ /:/g'`; LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH > ${LDCMD} ${LDFLAGS} -o ${APPNAME:=bntest} bntest.o ${LIBDEPS} ) > /usr/bin/ld: Undefined symbols: > _BN_GF2m_add > _BN_GF2m_arr2poly > _BN_GF2m_mod > _BN_GF2m_mod_div > _BN_GF2m_mod_exp > _BN_GF2m_mod_inv > _BN_GF2m_mod_mul > _BN_GF2m_mod_solve_quad > _BN_GF2m_mod_sqr > _BN_GF2m_mod_sqrt > _BN_generate_prime_ex > collect2: ld returned 1 exit status > make[2]: *** [link_app.] Error 1 > make[1]: *** [bntest] Error 2 > make: *** [build_tests] Error 1 > > > here's the build procedure i'm using: > > cp apps/Makefile apps/Makefile.dist > cp test/Makefile test/Makefile.dist > sed -e 's/LIBCRYPTO=-L.. -lcrypto/LIBCRYPTO=..\/libcrypto.a/ > s/LIBSSL=-L.. -lssl/LIBSSL=..\/libssl.a/' apps/Makefile.dist > > apps/Makefile > sed -e 's/LIBCRYPTO=-L.. -lcrypto/LIBCRYPTO=..\/libcrypto.a/ > s/LIBSSL=-L.. -lssl/LIBSSL=..\/libssl.a/' test/Makefile.dist > > test/Makefile > > ./config --prefix=/Users/aspa/tmp/098a did you tried "./config --prefix=... shared" ? Cheers, Nils ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [hidden email] Automated List Manager [hidden email] |
Free forum by Nabble | Edit this page |