I had installed the OpenSSL software on my Linux
systems.I had written some client/server applications
using API functions of 'C' of OpenSSL on Linux .But
iam unable to run that programs & when iam tried to
run them, Iam getting the following errors.
I tried to run those programs(by linking with the
libraries) by using the following command on Linux:

$gcc -L /usr/local/lib -lssl -lcrypto filename.c
----------------------------------------------------
When i run the program using this command iam getting
the following errors:
-------------------------------------------------------
/tmp/ccrFutKe.o: In function `main':
/tmp/ccrFutKe.o(.text+0xa): undefined reference to  
                             `SSL_library_init'
/tmp/ccrFutKe.o(.text+0xf): undefined reference to 
                           `SSLv2_client_method'
/tmp/ccrFutKe.o(.text+0x1c): undefined reference to 
                             `SSL_load_error_strings'
/tmp/ccrFutKe.o(.text+0x28): undefined reference to 
                             `SSL_CTX_new'
/tmp/ccrFutKe.o(.text+0x3f): undefined reference to 
                             `SSL_new'
/tmp/ccrFutKe.o(.text+0xac): undefined reference to 
                             `SSL_set_fd'
/tmp/ccrFutKe.o(.text+0xbb): undefined reference to 
                             `SSL_connect'
/tmp/ccrFutKe.o(.text+0xdf): undefined reference to 
                             `SSL_write'
/tmp/ccrFutKe.o(.text+0xfa): undefined reference to 
                              `SSL_read'
/tmp/ccrFutKe.o(.text+0x109): undefined reference to 
                              `SSL_shutdown'
/tmp/ccrFutKe.o(.text+0x124): undefined reference to 
                              `SSL_free'
/tmp/ccrFutKe.o(.text+0x133): undefined reference to 
                              `SSL_CTX_free'
collect2: ld returned 1 exit status
-------------------------------------------------------
Please help me..........
Thanks for consideration
--RaajKrissna 

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to