Details
-
Type:
Problem report
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 3.2.7
-
Fix Version/s: 3.4.9rc1, 4.0.0alpha6, 4.0 (plan)
-
Component/s: Installation (I)
-
Environment:FreeBSD 11
-
Team:Team C
-
Sprint:Sprint 31
-
Story Points:1
Description
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
Attachments
Issue Links
- is duplicated by
-
ZBX-10402 Wrong include and library path for iconv
-
- Closed
-