xerces-c and iconv
Sean McNeil
sean at mcneil.com
Thu Mar 11 18:08:37 PST 2004
Patch applied cleanly and worked like a charm.
Thank you very much,
Sean
On Thu, 2004-03-11 at 14:01, Bjoern A. Zeeb wrote:
> 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.
More information about the freebsd-ports
mailing list