Got it, had two different ssl.h files on the system.  

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Randy
Sent: Monday, June 26, 2006 10:12 AM
To: openssl-users@openssl.org
Subject: SSL Compile Problem II


This code compiles and links fine.  If I uncomment the SSL_new line I get
"undefined symbol: ssl_x"

        SSL_CTX *ctx;
        // SSL_new *ssl_x;

        /* Initializing OpenSSL */

        SSL_load_error_strings();                /* readable error messages
*/
        SSL_library_init();                      /* initialize library */

        /* Setting up the SSL pointers */

        ctx = SSL_CTX_new(SSLv23_client_method());


        cc -gc -I../include -I/usr/local/ssl/include -I/usr/local/include
-I/att /include -I/att/msgipc -I/usr/local/include curl_dip.c
UX:acomp: ERROR: "curl_dip.c", line 271: undefined symbol: ssl_x
UX:acomp: ERROR: "curl_dip.c", line 271: operands must have arithmetic type:
op
"*"

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to