Ad Widget

Collapse

Curl library not found

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

    Curl library not found

    having trouble in compling zabbix 1.3.5 (beta) on my CentOS4.0 machine.
    configure: error: Not found Curl library

    [[email protected] zabbix]# ./configure --enable-server --enable-static --with-mysql --with-net-snmp -with-jabber -with-libcurl

    checking for ...
    checking for ...
    checking for ...
    checking for mysql_config... /usr/bin/mysql_config
    checking for MySQL libraries... yes
    checking for floor... no
    checking for floor in -lm... yes
    checking for compress in -lz... yes
    checking for mysql_autocommit in MySQL... no
    checking for ZABBIX server database selection... ok
    checking for pkg-config... /usr/local/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for IKSEMEL... yes
    checking for gawk... (cached) gawk
    checking for curl-config... /usr/local/bin/curl-config
    checking for the version of libcurl... 7.16.2
    checking for libcurl >= version 7.15.1... yes
    checking whether libcurl is usable... no
    configure: error: Not found Curl library


    Below is a list of libcurl AND libcurl-dev packages which i installed
    curl-7.16.2.tar.gz
    libcurl4-7.16.2-1.i386.rpm
    libcurl4-devel-7.16.2-1.i386.rpm

    More Info on my System

    [[email protected] zabbix]# curl -V
    curl 7.16.2 (i686-pc-linux-gnu) libcurl/7.16.2 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6
    Protocols: tftp ftp telnet dict ldap http file https ftps
    Features: IDN IPv6 Largefile NTLM SSL libz

    /usr/local/include/curl/
    curl.h
    curlver.h
    easy.h
    mprintf.h
    multi.h
    stdcheaders.h
    types.h

    /usr/local/lib
    [[email protected] lib]# ls
    curl libiksemel.la libzbxconf.a libzbxsysinfo2.a
    curl.h libiksemel.so libzbxcrypto.a libzbxsysinfo.a
    curlver.h libiksemel.so.3 libzbxdbhigh.a libzbxtimer.a
    easy.h libiksemel.so.3.0.0 libzbxemail.a libzbxtrapper.a
    iksemel.h libpth.a libzbxhousekeeper.a mprintf.h
    libcurl.a libpth.la libzbxlog.a multi.h
    libcurl.la libpth.so libzbxnet.a perl5
    libcurl.so libpth.so.20 libzbxpid.a pkgconfig
    libcurl.so.4 libpth.so.20.0.21 libzbxpinger.a pth.h
    libcurl.so.4.0.0 libzbxalerter.a libzbxpoller.a stdcheaders.h
    libiksemel.a libzbxcommon.a libzbxsms.a types.h

    What is causing the Zabbix complier (./configure) NOT to find my curl library ? Do i need any "special" networks services running for my CentOS server?

    Any advices is GERATLY appreciated ! Thanks 4 reading

    #2
    Originally posted by BusteR81
    What is causing the Zabbix complier (./configure) NOT to find my curl library ?
    Static compilation is causing this. Already fixed in pre 1.3.6.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment


      #3
      Please choose correct forum when posting messages. Thanks.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment


        #4
        thanks!

        thanks 4 yur prompt reply. managed to complie successfully.

        I LOVE ZABBIX !!!

        oh ya sorrie abt the wrong forumn posting

        Comment


          #5
          It seems that this error has returned. FreeBSD 6.2:

          if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -g -O2 -I/usr/local/include/mysql -fno-strict-aliasing -pipe -march=pentium4 -MT md5.o -MD -MP -MF ".deps/md5.Tpo" -c -o md5.o md5.c; then mv -f ".deps/md5.Tpo" ".deps/md5.Po"; else rm -f ".deps/md5.Tpo"; exit 1; fi
          In file included from ../../../include/common.h:31,
          from md5.c:54:
          ../../../include/sysinc.h:342:24: curl/curl.h: No such file or directory

          ===

          ./configure --enable-server --enable-agent --with-mysql --disable-static

          ===

          Version: 1.3.8
          https://www.diederik.nl

          Comment

          Announcement

          Collapse
          No announcement yet.
          Working...
          X