From owner-freebsd-ports@FreeBSD.ORG Thu Mar 11 14:10:10 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 7FC5316A4CF for ; Thu, 11 Mar 2004 14:10:10 -0800 (PST) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9CDA43D2D for ; Thu, 11 Mar 2004 14:10:09 -0800 (PST) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 67C6E1FFDC1; Thu, 11 Mar 2004 23:10:08 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id 776D81FF90C; Thu, 11 Mar 2004 23:10:06 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 6B9E61538C; Thu, 11 Mar 2004 22:01:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 6102115384; Thu, 11 Mar 2004 22:01:53 +0000 (UTC) Date: Thu, 11 Mar 2004 22:01:53 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Sean McNeil In-Reply-To: <1079021938.69399.2.camel@server.mcneil.com> Message-ID: References: <1079021938.69399.2.camel@server.mcneil.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de 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: Thu, 11 Mar 2004 22:10:10 -0000 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/