On Thu, Jan 11, 2001 at 02:38:26PM +0200, Alexey Prohorenko wrote:
> On Thu, Jan 11, 2001 at 10:08:24AM +0100, Lutz Jaenicke wrote:
> > On Thu, Jan 11, 2001 at 09:13:12AM +0200, Alexey Prohorenko wrote:
> > > green@pacific:~/SSL$ make
> > > g++ -I/usr/local/ssl/include -o cli cli.cpp -L/usr/local/ssl/lib/libssl.a 
>/usr/local/ssl/lib/libcrypto.a
> > 
> > Read the manual of your compiler:
> > g++ -I/usr/local/ssl/incluce -o cli cli.cpp -L/usr/local/ssl/lib -lssl -lcrypto
> 
>       Thank you for your answer, but still...
> 
> green@pacific:~/SSL$ make 
> gcc -I/usr/local/ssl/include -o cli cli.cpp -L/usr/local/ssl/lib -lcrypto -lssl

You did not use my sequence. Libraries are searched in the sequence given.
It is thus important to keep -lssl -lcrypto, as in libssl functions from
libcrypto are used (as you just found out yourself :-).

Best regards,
        Lutz
-- 
Lutz Jaenicke                             [EMAIL PROTECTED]
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to