Ad Widget

Collapse

Curl problem zabbix 1.6.4 - debian lenny

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • roxy
    Junior Member
    • Mar 2009
    • 12

    #1

    Curl problem zabbix 1.6.4 - debian lenny

    During configuration of zabbix 1.6.4, I get this error:

    checking for strtod... yes
    checking for snprintf... yes
    checking for vasprintf... yes
    checking for asprintf... yes
    checking for vsnprintf... yes
    checking for hstrerror... yes
    checking for atoll... yes
    checking for getopt_long... yes
    checking for mysql_config... /usr/bin/mysql_config
    checking for main in -lmysqlclient ... yes
    checking for ZABBIX server database selection... ok
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for iksemel support... yes
    checking for getaddrinfo... yes
    checking for main in -lgnutls ... yes
    checking for main in -ltasn1 ... yes
    checking for main in -lgcrypt ... yes
    checking for main in -lgpg-error ... yes
    checking for gawk... (cached) mawk
    checking for curl-config... /usr/bin/curl-config
    checking for the version of libcurl... 7.18.2
    checking for libcurl >= version 7.13.1... yes
    checking for main in -lcurl... yes
    checking whether libcurl is usable... no
    configure: error: Not found Curl library

    Can anyone help me ?
    using Linux Debian lenny, follows some infos:

    $ curl-config --version
    libcurl 7.18.2
    $ curl-config --cflags

    $ curl-config --libs
    -lcurl

    $ curl-config --static-libs
    /usr/lib/libcurl.a -lidn -llber -lldap -lrt -lgssapi_krb5 -lgssapi_krb5 -lz -lgnutls
  • Calimero
    Senior Member
    • Nov 2006
    • 481

    #2
    Are you running an AMD64 install ?
    Maybe there's some 32b/64b confusion.

    I got the same kind of problem on Centos x86_64 ...

    Comment

    • roxy
      Junior Member
      • Mar 2009
      • 12

      #3
      i686 32bit guest on xenserver host (virtual machine)

      Comment

      • Calimero
        Senior Member
        • Nov 2006
        • 481

        #4
        OK. Take a look at 'configure.log'. You'll have extra details. There's probably the gcc command with all parameters that failed and error messages.

        Comment

        • roxy
          Junior Member
          • Mar 2009
          • 12

          #5
          I have just open configure.log there are many reference error.
          Probably lenny has some curl dependency problem. If I install:

          apt-get install libcurl4-gnutls-dev libcurl4-openssl-dev

          I receive conflict with libcurl-dev (that is the virtual package for the two above).

          So, for the moment, configured without --enable-static

          What's the possible problems using non static linking ?

          Comment

          • H2O1h
            Junior Member
            • Jan 2011
            • 5

            #6
            Hi there...


            # aptitude install curl
            # aptitude install libidn11-dev
            # aptitude install openssl

            ...and u're done with cURL.



            Don't forget about:

            zlib, glibc and net-snmp (for SNMP support), popt (net-snmp might depend on it), rpm (net-snmp might depend on it), OpenIPMI(for IPMI support) and libssh2 (for direct SSH checks)



            Greetings from Earth

            Comment

            Working...