Ad Widget

Collapse

(FreeBSD) Configure failed in 1.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Voltsifer
    Junior Member
    • Jun 2006
    • 8

    #1

    (FreeBSD) Configure failed in 1.4

    Hi

    FreeBSD 6.2-STABLE (and FreeBSD 7.0-CURRENT too )

    ./configure --with-net-snmp --with-pgsql --enable-server
    configure: error: Not found NET-SNMP library

    Code:
    configure:9992: checking for net-snmp-config
    configure:10010: found /usr/local/bin/net-snmp-config
    configure:10023: result: /usr/local/bin/net-snmp-config
    configure:10159: checking for main in -lnetsnmp
    configure:10188: gcc -o conftest -g -O2   -I/usr/local/include/mysql -pipe     -I/usr/local/include -I/usr/local/lib/perl5/5.8.8/mach/CORE -I. -I/usr/local/include      -L/usr/local/lib/mysql     -L/usr/local/lib conftest.c -lnetsnmp   -lkvm -lm    -lmysqlclient     >&5
    /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_DigestInit'
    /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_DigestFinal'
    /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_DigestFinal_ex'
    /usr/local/lib/libnetsnmp.so: undefined reference to `AES_set_encrypt_key'
    /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_md5'
    /usr/local/lib/libnetsnmp.so: undefined reference to `HMAC'
    /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_MD_CTX_cleanup'
    /usr/local/lib/libnetsnmp.so: undefined reference to `SSLeay'
    /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_sha1'
    /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_MD_CTX_init'
    /usr/local/lib/libnetsnmp.so: undefined reference to `EVP_DigestUpdate'
    /usr/local/lib/libnetsnmp.so: undefined reference to `RAND_bytes'
    /usr/local/lib/libnetsnmp.so: undefined reference to `DES_cbc_encrypt'
    /usr/local/lib/libnetsnmp.so: undefined reference to `DES_ncbc_encrypt'
    /usr/local/lib/libnetsnmp.so: undefined reference to `DES_key_sched'
    /usr/local/lib/libnetsnmp.so: undefined reference to `AES_cfb128_encrypt'
    configure:10194: $? = 1

    With ./configure --with-net-snmp --with-pgsql --enable-server

    checking for pg_config... /usr/local/bin/pg_config
    test: -rf: unexpected operator
    no
    configure: error: Not found PostgreSQL library


    There wasn't such problems in 1.1.7 (and seems 1.3.8 too)
    Last edited by Voltsifer; 29-05-2007, 19:22.
  • Eugene
    Member
    • Feb 2006
    • 57

    #2
    See: http://www.zabbix.com/forum/showthread.php?t=6190

    Comment

    Working...