SSL lib

Kris Kennaway kris at obsecurity.org
Tue Aug 2 13:39:50 GMT 2005


On Fri, Jul 29, 2005 at 03:45:15AM -0700, sibel kanmaz wrote:
> hello I have some problems with openssl:
> wclient2.o(.text+0x3a6): undefined reference to `SSL_new'
> wclient2.o(.text+0x3b9): undefined reference to `BIO_new_socket'
> wclient2.o(.text+0x3d0): undefined reference to `SSL_set_bio'
> wclient2.o(.text+0x3de): undefined reference to `SSL_connect'
> wclient2.o(.text+0x3f2): undefined reference to `berr_exit'
> wclient2.o(.text+0x40f): undefined reference to `check_cert'
> wclient2.o(.text+0x42a): undefined reference to `SSL_get1_session'
> wclient2.o(.text+0x43b): undefined reference to `SSL_shutdown'
> wclient2.o(.text+0x449): undefined reference to `SSL_free'
> wclient2.o(.text+0x46e): undefined reference to `tcp_connect'
> as I have seen at internet you have had a problem like this if you solved this please help me,thanks.
> Good days,Sibel 

You probably aren't linking to the correct libraries, e.g. -lssl
-lcrypto.  If this is not the case, post the exact command that caused
the above errors.

Kris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20050802/4e182df7/attachment.bin


More information about the freebsd-net mailing list