Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-5084

v2.0.0 server build with installed net-snmp 5.7.1 fails at configure: "Not found NET-SNMP library"

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 2.0.0
    • Installation (I)
    • zabbix 2.0.0 + linux/64 + net-snmp/5.7.1

      cd zabbix-2.0.0
      
      echo $CFLAGS
      	-O2
      echo $CPPFLAGS
      	-I/usr/local/libssh2/include
      echo $LDFLAGS
      	-L/usr/local/libssh2/lib64
      echo $LIBS
      	-lssh2 -lnetsnmp
      
      ./configure --prefix=/usr/local/zabbix --enable-server --enable-proxy --enable-agent --with-mysql=/usr/bin/mysql_config --with-net-snmp=/usr/bin/net-snmp-config
      
      	...
      	checking for net-snmp-config... /usr/bin/net-snmp-config
      	checking for main in -lnetsnmp... no
      	configure: error: Not found NET-SNMP library
      
      /usr/bin/net-snmp-config --version --libs
      	5.7.1
      	-L/usr/lib64 -lnetsnmp -lcrypto -lm
      
      ls -al /usr/lib64/libnetsnmp.so*
      	lrwxrwxrwx 1 root root   20 Apr 19 08:25 /usr/lib64/libnetsnmp.so -> libnetsnmp.so.30.0.1*
      	lrwxrwxrwx 1 root root   20 Apr 19 08:22 /usr/lib64/libnetsnmp.so.30 -> libnetsnmp.so.30.0.1*
      	-rwxr-xr-x 1 root root 695K Apr  5 05:06 /usr/lib64/libnetsnmp.so.30.0.1*
      

            Unassigned Unassigned
            dmt dmt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: