In message <[EMAIL PROTECTED]> on Thu, 2 Oct 2003 20:25:08 +0200, "Dr. Stephen Henson" 
<[EMAIL PROTECTED]> said:

steve> On Thu, Oct 02, 2003, Jonathan Sabo wrote:
steve> 
steve> > After configuring with the no-dso option I was able to get further but it
steve> > ended with some errors:
steve> > 
steve> > make[1]: Leaving directory `/home/sabo/openssl-0.9.7b/ssl'
steve> > making all in apps...
steve> > make[1]: Entering directory `/home/sabo/openssl-0.9.7b/apps'
steve> > rm -f openssl
steve> > if [ "linux-shared" = "hpux-shared" -o "linux-shared" = "darwin-shared" ]
steve> > ; then
steve> >  \
steve> >   gcc -o openssl -DMONOLITH -I.. -I../include  -DOPENSSL_THREADS
steve> > -D_REENTRANT -D
steve> > OPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall
steve> > -DSHA1_
steve> > ASM -DMD5_ASM -DRMD160_ASM openssl.o verify.o asn1pars.o req.o dgst.o dh.o
steve> > dhpar
steve> > am.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o
steve> > rsautl.o
steve> > dsa.o dsaparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o
steve> > s_time.o
steve> >  apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o
steve> > pkcs12
steve> > .o pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o  ../libssl.a
steve> > ../libcrypto.a -
steve> > ldl ; \
steve> > else \
steve> >   LD_LIBRARY_PATH=..:$LD_LIBRARY_PATH \
steve> >   gcc -o openssl -DMONOLITH -I.. -I../include  -DOPENSSL_THREADS
steve> > -D_REENTRANT -D
steve> > OPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall
steve> > -DSHA1_
steve> > ASM -DMD5_ASM -DRMD160_ASM openssl.o verify.o asn1pars.o req.o dgst.o dh.o
steve> > dhpar
steve> > am.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o
steve> > rsautl.o
steve> > dsa.o dsaparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o
steve> > s_time.o
steve> >  apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o
steve> > pkcs12
steve> > .o pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o  -L.. -lssl  -L..
steve> > -lcrypto -ld
steve> > l ; \
steve> > fi
steve> > ld: cannot open -ldl: No such file or directory
steve> > make[1]: *** [openssl] Error 1
steve> > make[1]: Leaving directory `/home/sabo/openssl-0.9.7b/apps'
steve> > make: *** [sub_all] Error 1
steve> > [EMAIL PROTECTED] openssl-0.9.7b]#
steve> > 
steve> > Im so close.  Your help is greatly appreciated.
steve> > 
steve> 
steve> It shouldn't links with that. Try removing -ldl from the
steve> Makefile its probably in the EX_LIBS line at the top.

Uhmm, -ldl is given as the $lflags in the Linux configuration
targets.  That means that on Linux, openssl will *always* be linked
with -ldl, no exception.  And yes, removing it from EX_LIBS in the top
Makefile.ssl is the answer for now.

I really gotta rework Configure for 0.9.8-dev...

-- 
Richard Levitte   \ Tunnlandsvägen 3  \ [EMAIL PROTECTED]
[EMAIL PROTECTED]  \ S-168 36  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.

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

Reply via email to