From: "amit limaye" <[EMAIL PROTECTED]>
amit.limaye> the openssl library is supposed to generate two libraries
amit.limaye> that is
amit.limaye> libssl.a
amit.limaye> libcrypto.a
amit.limaye>
amit.limaye> isn't it
Yes, and I assume that wasn't a problem.
amit.limaye> i have a problem that after linking both these libraries
amit.limaye> with the program i am not able to compile my program for
amit.limaye> just ine call which is
amit.limaye> SSL_library_init
OK, let me say it like this: if I would compile a program from the
source foo.c that had a call to SSL_library_init(), I would probably
have to do something like this:
gcc -c -I/usr/local/ssl -o foo.o foo.c
gcc -o foo foo.o -lssl -lcrypto
at the very least (I would probably have to add a few more libraries
on the second line, and a few more flags on the first). The crucial
thing here is that I have both -lssl and -lcrypto on the second line,
and in that order, or I would get exactly the problem that you
describe. Is this a bit clearer?
--
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
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]