-
Problem report
-
Resolution: Fixed
-
Trivial
-
3.2.7
-
FreeBSD 11
-
Sprint 31
-
1
If libiconv package is installed AND --with-libcurl option is specified then configure script fails:
$ CFLAGS="-g -O2 -D_FORTIFY_SOURCE=2" ./configure --enable-server --enable-proxy --enable-agent \ --enable-ipv6 --with-net-snmp --with-unixodbc --with-libxml2 --with-libcurl --with-ssh2 \ --with-openipmi --with-ldap --with-mysql --with-openssl --prefix=`pwd` 2>&1 | tee my_configure.out ... checking whether libcurl is usable... yes checking for curl_free... yes checking for curl_easy_escape... yes checking for ICONV support... configure: error: Unable to use iconv (libiconv check failed)
If libiconv package is removed OR --with-libcurl option is not used then configure script succeeds.
The issue can be worked around by adding --with-iconv=/usr/local to configure options:
$ CFLAGS="-g -O2 -D_FORTIFY_SOURCE=2" ./configure --enable-server --enable-proxy --enable-agent \ --enable-ipv6 --with-net-snmp --with-unixodbc --with-libxml2 --with-libcurl --with-ssh2 \ --with-openipmi --with-ldap --with-mysql --with-openssl --with-iconv=/usr/local --prefix=`pwd` 2>&1 | tee my_configure.out
- is duplicated by
-
ZBX-10402 Wrong include and library path for iconv
- Closed