Hey ,
I am trying to into my code, however, i haven't been able to compile even the
simpliest code:
//main.cpp
#include <stdio.h>
//openssl includes
#include <openssl/ssl.h>
#include <openssl/ssl.h>
#include <openssl/x509v3.h>
#include <openssl/err.h>
#include <openssl/bio.h>
#include <openssl/pem.h>
//#include "Socket.h"
int main(){
SSL *ptr = NULL;
SSL_CTX *ssl_ctx = NULL;
SSL_library_init();
return 1;
}
with ...
c++ -L/usr/local/ssl/lib -lssl -lcrypto -I/usr/local/ssl/include main2.cpp -o test
and all i get is...
/tmp/ccO8GjTu.o: In function `main':
/tmp/ccO8GjTu.o(.text+0x15): undefined reference to `SSL_library_init'
collect2: ld returned 1 exit status
--------------------------
I know that this might be a dumb question ... but i had to ask it =)
thanks in advance ,
- Dave
------------------------------------------------------------
Free, BeOS-friendly email accounts: http://BeMail.org/
love and pixels .:. http://dieselsweeties.com/
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]