Ad Widget

Collapse

configure: error: Not found NET-SNMP library with zabbix 1.6.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fatiha
    Member
    • Nov 2007
    • 78

    #1

    configure: error: Not found NET-SNMP library with zabbix 1.6.4

    Hi,

    Here's my config :
    zabbix 1.6.4
    $ net-snmp-config --libs
    -L/usr/local/lib -lnetsnmp -lm

    I have tried anything but I still have that error :
    $ ./configure --enable-server --with-mysql --with-net-snmp --with-libcurl
    checking for net-snmp-config... /usr/local/bin/net-snmp-config
    checking for main in -lnetsnmp ... no
    configure: error: Not found NET-SNMP library

    Thanks,
    Fatiha
  • xs-
    Senior Member
    Zabbix Certified Specialist
    • Dec 2007
    • 393

    #2
    search the forums


    --with-net-snmp=/path/to/net-snmp-config

    and/or have net-snmp-config in the $PATH
    and/or make sure the libraries are in the LD_LIBRARY_PATH (or its path in /etc/ld.so.conf)
    and/or make sure that you have the headerfiles in a normal location (if you have a package based OS, this should be the case since you have net-snmp-config already available)

    Comment

    • fatiha
      Member
      • Nov 2007
      • 78

      #3
      Thank you xs- I will check those things.

      Fatiha.

      Comment

      • fredc
        Junior Member
        • May 2009
        • 3

        #4
        Hi Fatiha,

        please install net-snmp-devel and it'll work.

        best regards,

        Fred

        Comment

        • fatiha
          Member
          • Nov 2007
          • 78

          #5
          Thank you for your answer.

          I will inform you if it works.

          Comment

          • sayginozan
            Junior Member
            • Apr 2011
            • 1

            #6
            Hi

            For Debian (also Ubuntu), You should install "libsnmp-dev".

            Best Regards

            Saygin

            Comment

            Working...