Re: how to enable the encryption at time of installation

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 25 January 2011 14:36, Kumar Sanjay-XJD784
<[email protected]> wrote:
>        Here I posting the config.log file with 3 conditions:
> 1. ./configure  --prefix=/home/symbol/net-snmp-5.5/sanjay config.log_1
> 2. ./configure  --prefix=/home/symbol/net-snmp-5.5/sanjay --with-openssl  config.log_2
> 3. ./configure  --prefix=/home/symbol/net-snmp-5.5/sanjay --with-openssl//home/symbol/openssl-1.0.0c  config.log_3
>
> I am getting same Error in all there case:
> "checking for authentication support... configure: error: Asked to use OpenSSL but I couldn't find it."


Hmmmm....
Checking the logs, it looks as if the test that checks for the SSL
library is failing.
It *does* actually find this library, but then fails with the errors
    undefined reference to `dlopen'
    undefined reference to `dlsym'
    undefined reference to `dlclose'

(i.e. nothing related to OpenSSL at all!)

I'm not exactly sure how best to solve this, but as a starting point, can you
try the following:

[Those of a nervous disposition may wish to look away now....]

   edit the file 'configure'
   Search for the string "checking for EVP_md5 in -lcrypto"
       (about 2/3 of the way through the file)

   Half-a-dozen lines later is the line:

       LIBS="-lcrypto  $LIBS"

Change this to read

       LIBS="-ldl  -lcrypto  $LIBS"


and then re-run configure.
Does this pick up the OpenSSL libraries or not?

Dave

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.