iconv / libiconv 1.15 vs libc / libiconv_open | common/isc_file.cpp
-------------------------------------------------------------------
Key: CORE-5989
URL: http://tracker.firebirdsql.org/browse/CORE-5989
Project: Firebird Core
Issue Type: Bug
Components: Build Issues / Porting
Affects Versions: 3.0.4
Reporter: Dilyan Palauzov
Running ./configure reports:
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
...
checking for library containing iconv_open... none required
On my system I have /usr/include/iconv.h from libc and
/usr/local/include/iconv.h from libiconv-1.15 . The latter contains "#define
iconv_open libiconv_open". This file is included in src/common/isc_file.cpp
and there the latter macro is expanded. So isc_file.cpp references
libiconv_open(). For this to work -liconv must be passed to the linker, but it
is not. In turn linking towards common.a(isc_files.cpp) fails, as
libiconv_open() cannot be resolved.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel