the openssl library is supposed to generate two libraries
that is
 libssl.a
libcrypto.a

isn't it

i have a problem that after linking both these libraries with the program i
am not able to compile my program for just ine call which is
SSL_library_init

-SIGTERM
amit

----- Original Message -----
From: "Richard Levitte - VMS Whacker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, March 04, 2002 5:22 PM
Subject: Re: compile errors


From: "amit limaye" <[EMAIL PROTECTED]>

amit.limaye> I have been trying to compile s file using SSL_library_init
amit.limaye> tduring compile it throws a lot of undefined errors like
amit.limaye> ssl_algs.o uddefined reference  to "EVP_des_cbc" i have
amit.limaye> already linked libssl.a
amit.limaye>
amit.limaye> can anybody suggest some remedies

You need to link wth libcrypto.a as well.  Basically, somewhere in the
linking command line, you need to have the following (in that order):

-lssl -lcrypto

--
Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken  \ S-168 35  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-733-72 88 11
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, GemPlus:             http://www.gemplus.com/

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
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

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

Reply via email to