xerces-c and iconv
Bjoern A. Zeeb
bzeeb-lists at lists.zabbadoz.net
Thu Mar 11 14:10:10 PST 2004
On Thu, 11 Mar 2004, Sean McNeil wrote:
> I just built a java application that is using xerces-c and found what
> looks like a library dependency issue:
>
> /libexec/ld-elf.so.1: /usr/local/lib/libxerces-c.so.25: Undefined symbol
> "libiconv_open"
>
> when I do an ldd on the library,
>
> /usr/local/lib/libxerces-c.so.25:
> libpthread.so.1 => /usr/lib/libpthread.so.1 (0x284f4000)
> libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x28518000)
> libm.so.2 => /lib/libm.so.2 (0x285d8000)
>
> Is this library using iconv yet not linking against it?
up to now the samples and programs that linked against libxerces-c had
to link against libiconv.
Could you please try follwing patch against the current port
(/usr/ports/textproc/xerces-c2/) which should change this
behavior and also link libxerces-c against libiconv:
http://sources.zabbadoz.net/freebsd/ports/xerces-c2-2.5.0_1.diff
If it works for you I would appreciate feedback to get this patch
committed.
Many thanks.
--
Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
56 69 73 69 74 http://www.zabbadoz.net/
More information about the freebsd-ports
mailing list