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

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



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