Hi all,
Used OS's: fedora 17 64bit, centos 6.2 64 and i686.
I would like to compile zabbix agent from zabbix-2.0.1 source.
If I run ./configure --enable-agent the things goes well, and it end with a successful compilation.
I need to build with static libraries, so if I run
./configure --enable-agent --enable-static I get the following error:
checking for file /proc/net/dev... yes
checking for long long format... no
checking for -rdynamic linking option... yes
checking for ICONV support... configure: error: Unable to find iconv.h "no"
Even I try to compile as a user or root the result is the same.
The missing iconv.h file is exist in /usr/include
I tried to set LIBRARY_PATH and LD_LIBRARY_PATH to /usr/include, but it not helped.
What did I wrong? - Thanks for your reply:
Balazs Huvely
Used OS's: fedora 17 64bit, centos 6.2 64 and i686.
I would like to compile zabbix agent from zabbix-2.0.1 source.
If I run ./configure --enable-agent the things goes well, and it end with a successful compilation.
I need to build with static libraries, so if I run
./configure --enable-agent --enable-static I get the following error:
checking for file /proc/net/dev... yes
checking for long long format... no
checking for -rdynamic linking option... yes
checking for ICONV support... configure: error: Unable to find iconv.h "no"
Even I try to compile as a user or root the result is the same.
The missing iconv.h file is exist in /usr/include
I tried to set LIBRARY_PATH and LD_LIBRARY_PATH to /usr/include, but it not helped.
What did I wrong? - Thanks for your reply:
Balazs Huvely
Comment