I'm kinda newbie using openssl and i have a little problem when compiling my
program whick includes the openssl.ssl.h library

the error g++ produces is:

/crypto/NewAproach/secure_listener.cpp:28: undefined reference to
`SSL_library_init'
/crypto/NewAproach/secure_listener.cpp:29: undefined reference to
`OPENSSL_add_all_algorithms_noconf'
/crypto/NewAproach/secure_listener.cpp:30: undefined reference to
`SSL_load_error_strings'
/crypto/NewAproach/secure_listener.cpp:31: undefined reference to
`SSLv3_server_method'
/crypto/NewAproach/secure_listener.cpp:32: undefined reference to
`SSL_CTX_new'
/crypto/NewAproach/secure_listener.cpp:34: undefined reference to
`SSL_CTX_use_certificate_file'
/crypto/NewAproach/secure_listener.cpp:36: undefined reference to
`SSL_CTX_use_PrivateKey_file'
/crypto/NewAproach/secure_listener.cpp:38: undefined reference to
`SSL_CTX_check_private_key'

i've incluided the -I/usr/local/ssl/include in my Makefile options. It seems
to me that i have som sort of option missing in the makefile.

does anyone know how can i solve this.

thanks for any help

AR

-- 
View this message in context: 
http://www.nabble.com/Problems-compiling-a-program-using-openssl-tp19204055p19204055.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to