Minh
Do you link to -lpthread, -lssl, and -lcrypto ??

TD 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tuan Minh Nguyen
Sent: Saturday, February 03, 2007 17:10
To: openssl-users@openssl.org
Subject: Problem with linking library

Hi all,

which options should I use to compile when I see this error? :

client.c:(.text+0xcb): undefined reference to `init_OpenSSL'
client.c:(.text+0xfc): undefined reference to `handle_error'
client.c:(.text+0x13f): undefined reference to `handle_error'
common.c:(.text+0x51): undefined reference to `THREAD_setup'

I try to run example EX5-1,-2-3-4 in the book "O'Reilly - Network
Security with OpenSSL".

thank in advance,
Minh. 

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

Reply via email to