Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2004 18:08:30 -0800
From:      Sean McNeil <sean@mcneil.com>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        "Bjoern A. Zeeb" <bzeeb+freebsdports@zabbadoz.net>
Subject:   Re: xerces-c and iconv
Message-ID:  <1079057310.92463.0.camel@server.mcneil.com>
In-Reply-To: <Pine.BSF.4.53.0403112157140.24222@e0-0.zab2.int.zabbadoz.net>
References:  <1079021938.69399.2.camel@server.mcneil.com> <Pine.BSF.4.53.0403112157140.24222@e0-0.zab2.int.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1079057310.92463.0.camel>