From owner-freebsd-ports@FreeBSD.ORG Thu Mar 11 18:08:37 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5323616A4CE for ; Thu, 11 Mar 2004 18:08:37 -0800 (PST) Received: from ms-smtp-03-eri0.socal.rr.com (ms-smtp-03-qfe0.socal.rr.com [66.75.162.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 390DC43D39 for ; Thu, 11 Mar 2004 18:08:35 -0800 (PST) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (cpe-66-27-22-248.socal.rr.com [66.27.22.248] (may be forged))i2C28VUL008206; Thu, 11 Mar 2004 18:08:31 -0800 (PST) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 08484FD0A4; Thu, 11 Mar 2004 18:08:31 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 91541-07; Thu, 11 Mar 2004 18:08:30 -0800 (PST) Received: from [66.27.22.248] (mcneil.com [66.27.22.248]) by mail.mcneil.com (Postfix) with ESMTP id 8FCCCFD007; Thu, 11 Mar 2004 18:08:30 -0800 (PST) From: Sean McNeil To: "Bjoern A. Zeeb" In-Reply-To: References: <1079021938.69399.2.camel@server.mcneil.com> Content-Type: text/plain Message-Id: <1079057310.92463.0.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 11 Mar 2004 18:08:30 -0800 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Scanned: by amavisd-new at mcneil.com cc: ports@freebsd.org cc: "Bjoern A. Zeeb" Subject: Re: xerces-c and iconv X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 02:08:37 -0000 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.