Ad Widget

Collapse

RHEL5/CentOS5 build problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chinamusic
    Junior Member
    • Dec 2009
    • 6

    #1

    RHEL5/CentOS5 build problem

    I'm having a problem getting the configure script to correctly find the curl libraries when I try to build static binaries.

    The troublesome system is running RHEL5.3 and I've got the following curl packages installed:

    # rpm -qa|grep curl
    curl-devel-7.15.5-2.1.el5_3.5
    curl-7.15.5-2.1.el5_3.5

    Without --enable-static, the build finds all the dependencies and works as expected (awesome!). When I add --enable-static to the mix, the build craps out with the following:

    ....
    checking for main in -lcurl... yes
    checking whether libcurl is usable... no
    configure: error: Curl library not found

    Curl's libs appear to be in the correct place so I'm assuming this is some sort of bizarre interaction in the build script. This with Zabbix 1.8, but the problem also existed with the 1.6 tree that I downloaded a few days ago. Anyone have suggestions for a fix?

    Best,
    Last edited by chinamusic; 09-12-2009, 22:34. Reason: phat phingers
Working...