Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to implement some web checks in our Zabbix system which requires Zabbix to be compiled with the libcurl (curl) option, but I don't know how to check if it was compiled with this option or not, Is there any command or file which will assist me in finding the answer?

share|improve this question
which distribution are you using? – Dmitri Chubarov Jul 16 '14 at 7:15
The distribution the server is running is CentOS 6.5 , thanks. – Itai Ganot Jul 16 '14 at 7:47
up vote 2 down vote accepted

You need to use ldd(1) to print shared library dependencies. If the zabbix-agent was compiled with curl suppport, it was linked dynamically against the libcurl library in compilation time.

I don't have a zabbix installation handy right now, but the procedure is simple:

# ldd $(which curl) =>  (0x00007fff4572b000) => /lib64/ (0x00007f07a4189000) => /lib64/ (0x00007f07a3f7a000)

You should see libcurl in the output. Just replace curl with zabbix-agent.

share|improve this answer
Thanks! [root@zabbix ~]# ldd /usr/sbin/zabbix_agent => (0x00007ffff93fe000) => /usr/lib64/ (0x00007fd773094000) – Itai Ganot Jul 16 '14 at 8:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.