ZABBIX Forums  

Go Back   ZABBIX Forums > Zabbix Discussions and Feedback > Zabbix Troubleshooting and Problems
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 19-09-2008, 09:56
jmead jmead is offline
Junior Member
 
Join Date: Feb 2008
Location: Sydney
Posts: 20
Send a message via MSN to jmead Send a message via Skype™ to jmead
Default Zabbix 1.6 RedHat 5.1 x86_64 Not found libcurl library

Is anyone having an issue compiling Zabbix 1.6 in general or on RedHat Enterprise 5.X? When I compile using the following:
./configure --enable-server --prefix=/usr/local/zabbix --with-mysql --with-net-snmp --with-libcurl --with-jabber

I get the following error:
checking for the version of libcurl... 7.15.5
checking for libcurl >= version 7.13.1... yes
checking for main in -lcurl... no
configure: error: Not found libcurl library

I have checked that Curl is installed as well as the devel, I have specified in my configure --with-libcurl=/usr/bin/curl-config. I have forced a reinstall of curl and have removed and reinstalled the devel kit.

Anyone have any suggestions to solve my issue? or am I special Is there a specific version I should be using?
Reply With Quote
  #2  
Old 19-09-2008, 13:00
richlv richlv is offline
Administrator
Zabbix certified trainerZabbix certified professionalZabbix certified specialist
 
Join Date: Oct 2005
Posts: 3,103
Default

just to try it out...
export CFLAGS=-lssl && ./configure --whatever
Reply With Quote
  #3  
Old 19-09-2008, 13:58
ulrichdahl ulrichdahl is offline
Junior Member
 
Join Date: Sep 2008
Posts: 2
Default These made me able to configure on a rather basic CentOS 5 install

yum install gcc-c++ libstdc++-devel make mysql-devel curl-devel openssl-devel krb5-devel libgssapi-devel e2fsprogs-libs libidn-devel zlib-devel net-snmp-devel glibc-devel

# For IPMI support
yum install OpenIPMI-devel
Reply With Quote
  #4  
Old 21-09-2008, 09:12
ShivaS ShivaS is offline
Member
 
Join Date: Oct 2005
Posts: 51
Default

Usually it's all about package-devel
so you need curl-devel in your case.
so just: yum install curl-devel -y
and be happy;-)
Reply With Quote
  #5  
Old 21-09-2008, 21:34
ulrichdahl ulrichdahl is offline
Junior Member
 
Join Date: Sep 2008
Posts: 2
Default

My work showed me that it is not curl-devel that is missing, the curl lib error is a 'cover' for missing a lot of different libs.

That is why all of these are needed:
openssl-devel krb5-devel libgssapi-devel e2fsprogs-libs libidn-devel zlib-devel net-snmp-devel
Reply With Quote
  #6  
Old 22-09-2008, 05:28
jmead jmead is offline
Junior Member
 
Join Date: Feb 2008
Location: Sydney
Posts: 20
Send a message via MSN to jmead Send a message via Skype™ to jmead
Default Libcurl Library Missing

Quote:
Originally Posted by ulrichdahl View Post
yum install gcc-c++ libstdc++-devel make mysql-devel curl-devel openssl-devel krb5-devel libgssapi-devel e2fsprogs-libs libidn-devel zlib-devel net-snmp-devel glibc-devel

# For IPMI support
yum install OpenIPMI-devel
Thank you for your help, however the above packages still have not allowed me to compile using:
[root@srv1 zabbix-1.6]# ./configure --enable-server --prefix=/usr/local/zabbix --with-mysql --with-net-snmp --with-libcurl --with-jabber --with-openipmi


[root@srv1 zabbix-1.6]# export CFLAGS=-lssl && ./configure --enable-server --prefix=/usr/local/zabbix --with-mysql --with-net-snmp --with-libcurl --with-jabber --with-openipmi

configure: error: Not found libcurl library
Reply With Quote
  #7  
Old 22-09-2008, 05:29
jmead jmead is offline
Junior Member
 
Join Date: Feb 2008
Location: Sydney
Posts: 20
Send a message via MSN to jmead Send a message via Skype™ to jmead
Default

Quote:
Originally Posted by ulrichdahl View Post
My work showed me that it is not curl-devel that is missing, the curl lib error is a 'cover' for missing a lot of different libs.

That is why all of these are needed:
openssl-devel krb5-devel libgssapi-devel e2fsprogs-libs libidn-devel zlib-devel net-snmp-devel
Package openssl-devel - 0.9.8b-10.el5.i386 is already installed.
Package openssl-devel - 0.9.8b-10.el5.x86_64 is already installed.
Package krb5-devel - 1.6.1-25.el5.i386 is already installed.
Package krb5-devel - 1.6.1-25.el5.x86_64 is already installed.
Package libgssapi-devel - 0.10-2.x86_64 is already installed.
Package libgssapi-devel - 0.10-2.i386 is already installed.
Package e2fsprogs-libs - 1.39-15.el5.x86_64 is already installed.
Package e2fsprogs-libs - 1.39-15.el5.i386 is already installed.
Package libidn-devel - 0.6.5-1.1.x86_64 is already installed.
Package libidn-devel - 0.6.5-1.1.i386 is already installed.
Package zlib-devel - 1.2.3-3.i386 is already installed.
Package zlib-devel - 1.2.3-3.x86_64 is already installed.
Package net-snmp-devel - 1:5.3.1-24.el5_2.1.x86_64 is already installed.
Package net-snmp-devel - 1:5.3.1-24.el5_2.1.i386 is already installed.
Reply With Quote
  #8  
Old 22-09-2008, 07:21
ShivaS ShivaS is offline
Member
 
Join Date: Oct 2005
Posts: 51
Default

try removing --with-curl from ./configure options
maximum you may added it later in Makefile under EXTRA_LIBS -> -lcurl
(it might fail compiling without curl)

Anyway i don't remember myself to mentioning curl among other options in ./configure.
Reply With Quote
  #9  
Old 22-09-2008, 08:27
jmead jmead is offline
Junior Member
 
Join Date: Feb 2008
Location: Sydney
Posts: 20
Send a message via MSN to jmead Send a message via Skype™ to jmead
Default

Quote:
Originally Posted by ShivaS View Post
try removing --with-curl from ./configure options
maximum you may added it later in Makefile under EXTRA_LIBS -> -lcurl
(it might fail compiling without curl)

Anyway I don't remember myself to mentioning curl among other options in ./configure.
I am installing CURL only because I am following a Centos Instruction manual, as I understand if you do not have CURL then you cannot monitor websites???
What impact will it have if I don't install CURL?
Reply With Quote
  #10  
Old 22-09-2008, 10:13
richlv richlv is offline
Administrator
Zabbix certified trainerZabbix certified professionalZabbix certified specialist
 
Join Date: Oct 2005
Posts: 3,103
Default

Quote:
Originally Posted by jmead View Post
configure: error: Not found libcurl library
please attach your config.log as a file, thanks
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:23.