Ad Widget

Collapse

libcurl not found

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Villain
    Member
    • Aug 2006
    • 84

    #1

    libcurl not found

    I am trying to install Zabbix 1.4.4 on a new machine, and when doing so, I get an error saying that it cannot find the Curl libraries, even though they are installed.

    System info:

    CentOS 4.6
    Kernel 2.6.9-67

    I downloaded the latest curl and compiled it from source (7.18.0). I installed it to /usr/local/curl to make it easier to find.

    When I run the ./configure script, I am told that Curl can't be found. My command looks like:

    ./configure --prefix=/usr/local/zabbix --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl=/usr/local/curl

    Is there something wrong with that line? Do I need to do something different to find the curl libraries?

    /usr/local/curl/bin:
    curl
    curl-config

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

    /usr/local/cur/lib:
    libcurl.a
    libcurl.1a
    libcurl.so -> libcurl.so.4.0.1
    libcurl.so.4 -> libcurl.so.4.0.1
    libcurl.so.4.0.1
    pkgconfig/:
    libcurl.pc

    Any thoughts on why my configure won't see the libs?

    Thanks
  • Villain
    Member
    • Aug 2006
    • 84

    #2
    resolved

    I found the problem.

    you have to actually go through the path so it reads:

    --with-mysql=/usr/local/mysql/bin/mysql_config or --with-libcurl=/usr/local/curl/bin/curl-config

    So, you need more than the path to those files, you need the path INCLUDING those files when doing the install.

    Comment

    Working...