Hi Lee,

yes we did use  --with-openssl and pointed it towards the openssl library
of 1.0.2h compiled by us. But strangely net-snmp still looking for 1.0.1
openssl.

I run the "objdump -x libnetsnmpagent.so" command and found the below:-

Dynamic Section:
  NEEDED               libnetsnmp.so.30
  NEEDED               librt.so.1
  NEEDED               *libcrypto.so.1.0.1*
  NEEDED               libm.so.6
  NEEDED               libc.so.6


But I also have compiled libcurl, and for "objdump -x libcurl.so" , I got
below:-

Dynamic Section:
  NEEDED               librt.so.1
  NEEDED               libssl.so.1.0.2
  NEEDED               *libcrypto.so.1.0.2*
  NEEDED               libc.so.6
  SONAME               libcurl.so.4

So libcurl is pointing to right version, where as netsnmp not. Please help
what could be problem here?


Regards


On Thu, Aug 11, 2016 at 7:30 PM, Lee <ler...@gmail.com> wrote:

> On 8/11/16, Test ssl <testossl2...@gmail.com> wrote:
> > Hi ,
> >
> >
> > I am getting below error :-
> >
> >  libcrypto.so.1.0.1, needed by libnetsnmpagent.so, not found (try using
> > -rpath or -rpath-link)
> >
> >
> > I have upgraded openssl from 1.0.1q to 1.0.2h for my project.
> >
> > does net-snmp by default looks for openssl 1.0.1 series. Is there anyway
> to
> > force it to point towards 1.0.2?
>
> Have you tried  ./configure --with-openssl=PATH ?
>
> $ ./configure --help
>   [.. snip ..]
>   --with-openssl=PATH             Look for openssl in PATH/lib,
>                                   or PATH may be "internal" to build with
>                                   minimal copied OpenSSL code for USM only.
>
> Regards,
> Lee
>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
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