Configure error Not found net snmp library

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Configure error Not found net snmp library

    Hi
    I have Solaris 10 (8/11) Sparc + Sun Coolstack 1.3.1 + net snmp 5.2 + Zabbix 1.8.8
    While configure of net snmp ver.>5.4 I have an error 'error subdirs' / 'subfolders'
    So I've made net snmp 5.2 --without-ssl
    Then I've tried to configure Zabbix 1.8.8
    Code:
    ./configure --enable-server --with-mysql --with-net-snmp --with-libcurl
    and I had such error:
    Code:
    checking for net-snmp-config... /usr/local/bin/net-snmp-config
    checking for main in -lnetsnmp ... no
    configure: error: Not found NET-SNMP library
    Tried as said in http://www.zabbix.com/forum/showthre...t+snmp+library
    But felt nothing

    Please help me

    SEE LAST POST
    Last edited by kisko-usr; 08-11-2011, 19:35.

    #2
    You need both net-snmp and net-snmp-devel installed.

    Comment


      #3
      Thank you, Zaniwoop, but as I know - there are not any devel packages in Solaris OS

      So I answer myself how to solve this problem:
      Code:
      configure: error: Not found NET-SNMP library
      and it exactly works for Solaris 10 8/11 Sparc

      If you have already installed Net Snmp - uninstall it.
      Download Net Snmp ver.<=5.2 (5.0, 5.2) source from net-snmp.sourceforge.net
      Also you'll need OpenSSL package (.pkg)

      Then install OpenSSL package.
      Go to Net Snmp source folder and do: ./configure --with-openssl=/usr/sfw (this path is not correct for all OS!) and then make install.
      After all try to configure Zabbix:
      ./configure --enable-server --with-mysql --with-net-snmp=/usr/local/bin/net-snmp-config --with-libcurl

      There would be no errors, if you've done all correctly before.

      P.S. I don't remember exactly but maybe you'll need zlib to compile net snmp
      Last edited by kisko-usr; 08-11-2011, 18:56.

      Comment

      Announcement

      Collapse
      No announcement yet.
      Working...
      X