Ad Widget

Collapse

problems with net-snmp library

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • primiparo
    Junior Member
    • Jan 2009
    • 28

    #1

    problems with net-snmp library

    Hi everyone !
    In the instalation of zabbix v.1.6 i obtain this error in the ./configure

    checking whether libcurl is usable... yes
    checking for curl_free... yes
    checking for net-snmp-config... /usr/local/bin/net-snmp-config
    checking for main in -lnetsnmp ... no
    configure: error: Not found NET-SNMP library
    hq-alm-linsuse-intB:~/Install/zabbix-1.6.2 #
    hq-alm-linsuse-intB:~/Install/zabbix-1.6.2 # pwd
    /root/Install/zabbix-1.6.2

    in the config.log :

    configure:9837: test -s conftest
    configure:9840: $? = 0
    configure:9852: result: yes
    configure:10432: checking for net-snmp-config
    configure:10450: found /usr/local/bin/net-snmp-config
    configure:10463: result: /usr/local/bin/net-snmp-config
    configure:10586: checking for main in -lnetsnmp
    configure:10610: gcc -o conftest -g -O2 -I/usr/include/mysql -g -pipe -m64 -I/usr/lib/perl5/5.8.3/x86_64-linux-thread-multi/CORE -I. -I/usr/local/include -L/usr/local/lib -lnetsnmp -lcrypto conftest.c -lnetsnmp -lm -lresolv >&5
    /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lcrypto
    collect2: ld returned 1 exit status
    configure:10616: $? = 1
    configure: failed program was:
    | /* confdefs.h. */

    and the link to the library :

    hq-alm-linsuse-intB:~/Install/zabbix-1.6.2 # ls -ltrh libnet*
    lrwxrwxrwx 1 root root 35 Mar 20 16:14 libnetsnmp.so -> /usr/local/lib/libnetsnmp.so.15.1.2
    hq-alm-linsuse-intB:~/Install/zabbix-1.6.2 # net-snmp-config --libs
    -L/usr/local/lib -lnetsnmp
    hq-alm-linsuse-intB:~/Install/zabbix-1.6.2 #

    Pls, anyone know how correct this or whats wrong... ?
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    try “export CFLAGS=-lssl” before 'configure'
    Zabbix 3.0 Network Monitoring book

    Comment

    Working...