compiler ssl application
Hi After compiling my ssl file ssl_server.c, there are some errors. Plese show me how to solve these errors. I installed the latest version openssl in Linux Fedora core 6. when I opened files in include directory in /usr/local/ssl/openssl/include, I could not open any of them. Why was that? The errors: [EMAIL PROTECTED] Codevidu]# gcc -o ssls ssl_server.c /tmp/ccAps0My.o: In function `InitServerCTX': ssl_server.c:(.text+0xc5): undefined reference to `OPENSSL_add_all_algorithms_noconf' ssl_server.c:(.text+0xca): undefined reference to `SSL_load_error_strings' ssl_server.c:(.text+0xcf): undefined reference to `SSLv2_server_method' ssl_server.c:(.text+0xdd): undefined reference to `SSL_CTX_new' ssl_server.c:(.text+0xf3): undefined reference to `ERR_print_errors_fp' /tmp/ccAps0My.o: In function `LoadCertificates': ssl_server.c:(.text+0x11d): undefined reference to `SSL_CTX_use_certificate_file' ssl_server.c:(.text+0x12e): undefined reference to `ERR_print_errors_fp' ssl_server.c:(.text+0x14d): undefined reference to `SSL_CTX_use_PrivateKey_file' ssl_server.c:(.text+0x15e): undefined reference to `ERR_print_errors_fp' ssl_server.c:(.text+0x16e): undefined reference to `SSL_CTX_check_private_key' - Check out the hottest 2008 models today at Yahoo! Autos.
RE: compiler ssl application
After compiling my ssl file ssl_server.c, there are some errors. Plese show me how to solve these errors. These are linker errors. You didn't link to the OpenSSL library. The solution is to add an appropriate command like '-lssl -lcryto'. I installed the latest version openssl in Linux Fedora core 6. when I opened files in include directory in /usr/local/ssl/openssl/include, I could not open any of them. Why was that? No idea. What does could not open mean? Are the files there? Do you get an error? Did you install the appropriate package? (openssl-dev?) DS __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]
compiler ssl application
I open*.h files in /usr/local/openssl/include, but the error message is Couldn't display /usr/local/openssl/include/openssl/ssl.h . Do I install openssl correctly? I downloaded the openssl-0.9.8e and then, I installed as follow: $ ./config $ make $ make test $ make install David Schwartz [EMAIL PROTECTED] wrote: After compiling my ssl file ssl_server.c, there are some errors. Plese show me how to solve these errors. These are linker errors. You didn't link to the OpenSSL library. The solution is to add an appropriate command like '-lssl -lcryto'. I installed the latest version openssl in Linux Fedora core 6. when I opened files in include directory in /usr/local/ssl/openssl/include, I could not open any of them. Why was that? No idea. What does could not open mean? Are the files there? Do you get an error? Did you install the appropriate package? (openssl-dev?) DS __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED] - Pinpoint customers who are looking for what you sell.
Re: compiler ssl application
Khanh Nguyen wrote: I open*.h files in /usr/local/openssl/include, but the error message is Couldn't display /usr/local/openssl/include/openssl/ssl.h . Do I install openssl correctly? Do these files exist there? Are you sure that they were indeed copied to that path? Check for read permissions? I downloaded the openssl-0.9.8e and then, I installed as follow: $ ./config $ make $ make test $ make install -jb -- No snowflake in an avalanche ever feels responsible. __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]