Re: Building net-snmp, is not linking against OpenSSL

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Daniel Lang wrote:
> I then tried to build the monitoring server, zabbix, but it failed when
> building the server with the following link errors:
> 
> sqlclient -lm -lz    -lnetsnmp -lkvm -lresolv -lnsl -lkstat -lsocket

Replace "-lnetsnmp" by "`net-snmp-config --libs`".

> I ran ldd against libnetsnmp and it returns:
> 
> $ldd /usr/local/lib/libnetsnmp.so.10.0.1
>         libc.so.1 =>     /lib/libc.so.1
>         libm.so.2 =>     /lib/libm.so.2
>         /platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1
> 
> So it appears that the net-snmp libraries are not properly linking
> against libcrypt and other OpenSSL libraries.

I agree. See http://www.net-snmp.org/wiki/index.php/Library_layering for the
full details on our attempts to fix this for 5.5.

For 5.4, "./configure --enable-as-needed" is the best you can do.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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.