Ad Widget

Collapse

CentOS 5... Not found libcurl library

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • plouis
    Junior Member
    • Jul 2007
    • 3

    #1

    CentOS 5... Not found libcurl library

    Hi,
    I'm trying to install zabbix 1.4.1
    This is my problem...

    [root@openNMS /]# uname -a
    Linux openNMS 2.6.18-8.1.6.el5 #1 SMP Thu Jun 14 17:29:04 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

    [root@openNMS /]# rpm -qa|grep curl
    curl-7.15.5-2.el5
    curl-devel-7.15.5-2.el5

    [root@openNMS tmp]# curl-config --version
    libcurl 7.15.5
    [root@openNMS tmp]# curl-config --cflags

    [root@openNMS tmp]# curl-config --libs
    -L/usr/kerberos/lib64 -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -lidn -lssl -lcrypto -lz

    [root@openNMS /]# find / -name libcurl*
    /usr/lib64/pkgconfig/libcurl.pc
    /usr/lib64/libcurl.so.3.0.0
    /usr/lib64/libcurl.a
    /usr/lib64/libcurl.so
    /usr/lib64/libcurl.so.3

    I have tried to do : ln -s /usr/lib64 /usr/kerberos/lib64

    but

    [root@openNMS /]# ./configure --enable-server --with-pgsql --with-net-snmp --with-jabber --with-libcurl

    ......
    .....
    ....
    ...
    ..
    checking for IKSEMEL... yes
    checking for getaddrinfo... yes
    checking for gawk... (cached) gawk
    checking for curl-config... /usr/bin/curl-config
    checking for the version of libcurl... 7.15.5
    checking for libcurl >= version 7.15.1... yes
    checking for main in -lcurl... no
    configure: error: Not found libcurl library


    inside config.log i have....
    .....
    .....
    .....
    LIBCURL_CPPFLAGS=''
    LIBCURL_LDFLAGS=' -L/usr/kerberos/lib64'
    LIBCURL_LIBS=''
    .....
    ....
    ....
    is it OK???? i don't believe!!!!

    Help me!!!! :-(
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Try to specify full path to curl-config:

    --with-libcurl=<path to curl-config>
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • plouis
      Junior Member
      • Jul 2007
      • 3

      #3
      i have tried but....

      ./configure --enable-server --with-pgsql --with-net-snmp --with-jabber --with-libcurl=/usr/bin/curl-config

      ....
      ...
      ..
      checking for IKSEMEL... yes
      checking for getaddrinfo... yes
      checking for gawk... (cached) gawk
      checking for curl-config... /usr/bin/curl-config
      checking for the version of libcurl... 7.15.5
      checking for libcurl >= version 7.15.1... yes
      checking for main in -lcurl... no
      configure: error: Not found libcurl library
      ....
      ...
      ..

      Comment

      • plouis
        Junior Member
        • Jul 2007
        • 3

        #4
        Originally posted by Alexei
        Try to specify full path to curl-config:

        --with-libcurl=<path to curl-config>

        don't work...... don't work......

        Comment

        • lorenzo__59
          Junior Member
          • Jun 2007
          • 15

          #5
          reinstall libcurl

          rpm -ivh --force liburcl.....

          Comment

          Working...