>> -----Ursprüngliche Nachricht-----
>> Von: Robert Story [mailto:[EMAIL PROTECTED] 
>> Gesendet: Mittwoch, 13. Juli 2005 21:10
>> An: Mohr James
>> Cc: net-snmp-users@lists.sourceforge.net
>> Betreff: Re: Building 5.2.1 on Solaris - Undefined symbols
>> 
>> 
>> On Mon, 4 Jul 2005 13:35:12 +0200 Mohr wrote:
>> MJ> I am building 5.2.1 from source on Solaris 7 and 8. My configure 
>> MJ> call is in a script that looks like this:
>> MJ> 
>> MJ> ./configure   --without-ssl [EMAIL PROTECTED]
>> 
>> MJ> The build runs for a long time and then errors out with this:
>> MJ> 
>> MJ> Undefined                       first referenced
>> MJ>  symbol                             in file
>> MJ> EVP_MD_CTX_cleanup                  
>> ../snmplib/.libs/libnetsnmp.so
>> 
>> MJ> I googled and found some references that said these are 
>> references 
>> MJ> to openssl. Well, if I comfigure it with --without-ssl, 
>> why is it 
>> MJ> trying to compile in openssl stuff? Or am I missing something?
>> 
>> What does 'grep SSL config.log' give you?

The are a whole bunch of entries like this:

#define HAVE_OPENSSL_DES_H 1
#define HAVE_OPENSSL_DH_H 1
#define HAVE_OPENSSL_EVP_H 1
#define HAVE_OPENSSL_HMAC_H 1
#define USE_OPENSSL 1

So, it looks like something is forcing it to use SSL. I did a search of 'define 
USE_OPENSSL' and found several include files where it was explicitely so 
defined. I changed them to #define USE_OPENSSL 0 and reran the configure. In 
the config.log I still have #define USE_OPENSSL 1. Looking at the configure 
script, I ended up backtracking alot and found it seems to be due to the line 
"tryopenssl=defaultyes". Because OpenSSL is installed on this system, it seems 
that this is forcing configure to try and include OpenSSL anyway, despite what 
I said on the command line.

Regards,

Jim Mohr


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to