From owner-freebsd-gnome@FreeBSD.ORG Tue Apr 8 21:37:49 2008 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED9DB1065673 for ; Tue, 8 Apr 2008 21:37:49 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao105.cox.net (eastrmmtao105.cox.net [68.230.240.47]) by mx1.freebsd.org (Postfix) with ESMTP id A9FFE8FC1A for ; Tue, 8 Apr 2008 21:37:49 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao105.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080408213749.SZFO11989.eastrmmtao105.cox.net@eastrmimpo02.cox.net> for ; Tue, 8 Apr 2008 17:37:49 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo02.cox.net with bizsmtp id B9dn1Z00U4iy4EG029dnhf; Tue, 08 Apr 2008 17:37:47 -0400 Date: Tue, 08 Apr 2008 16:40:34 -0500 To: freebsd-gnome@freebsd.org From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <20080408065855.21ec5c04@scorpio> <20080408171105.4cecea6a@scorpio> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <20080408171105.4cecea6a@scorpio> User-Agent: Opera Mail/9.27 (Linux) Subject: Re: Building 'abiword' fails on FreeBSD-6.3 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2008 21:37:50 -0000 On Tue, 08 Apr 2008 16:11:05 -0500, Gerard wrote: > On Tue, 08 Apr 2008 11:06:12 -0500 > "Jeremy Messenger" wrote: > >> On Tue, 08 Apr 2008 05:58:55 -0500, Gerard >> wrote: >> >> > I posted this before; however, I never received a response that >> > corrected the situation. On a FreeBSD-6.3 machine, I am unable to >> > build 'abiword'. It stops with this error message: >> > >> > /usr/local/lib/libgcc_s.so.1: undefined reference to >> > `free@GLIBC_2.0' /usr/local/lib/libgcc_s.so.1: undefined reference >> > to `memset@GLIBC_2.0' /usr/local/lib/libgcc_s.so.1: undefined >> > reference to `memcpy@GLIBC_2.0' /usr/local/lib/libgcc_s.so.1: >> > undefined reference to >> > `dl_iterate_phdr@GLIBC_2.2.4' /usr/local/lib/libgcc_s.so.1: >> > undefined reference to >> > `malloc@GLIBC_2.0' /usr/local/lib/libgcc_s.so.1: undefined >> > reference to `abort@GLIBC_2.0' gmake[4]: *** [abiword] Error 1 >> > gmake[4]: Leaving directory >> > `/usr/ports/editors/abiword/work/abiword-2.6.0/src/wp/main/unix' >> > gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory >> > `/usr/ports/editors/abiword/work/abiword-2.6.0/src/wp/main' >> > gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory >> > `/usr/ports/editors/abiword/work/abiword-2.6.0/src/wp' gmake[1]: >> > *** [all-recursive] Error 1 gmake[1]: Leaving directory >> > `/usr/ports/editors/abiword/work/abiword-2.6.0/src' gmake: *** >> > [all-recursive] Error 1 *** Error code 2 >> > >> > Stop in /usr/ports/editors/abiword. >> > >> > >> > The entire build log is available here: >> > >> > http://seibercom.net/logs/abiword-build.txt >> > >> > I was told that there might be a problem with the 'libgcc_s.so.1' >> > library. However, I have 781 programs installed that build just fine >> > with this library installed so I find it hard to believe that it is >> > simply causing one program to fail. >> >> I am kind of still blaming on libgcc_s.so.1, because it looks like >> it's from Linux? Can you find out where libgcc_s.so.1 comes from one >> of your ports that you have installed? > > OK, I renamed the libgcc_s.so.1 lib and ran make again. This time it > built. However, I did find this warning message in the log file: > > /usr/bin/ld: warning: libgcc_s.so.1, needed by > /usr/local/lib/libfribidi.so, not found (try using -rpath or rpath-link) > > I continued checking and that library is installed by 'fribidi'. > > Anyway, I also discovered that libgcc_s.so.1 is linked to > '/usr/compat/linux/lib/libgcc_s.so.1'. > > I left the library renamed and so far nothing bad has happened. I > honestly have no idea what is going on here though. Perhaps someone > else here does. You need to find out which port installed that file. Put Linux's library in /usr/local/lib isn't right and should be report to the maintainer. Also, if you have custom PATH with /compat/linux then you should remove from it. The freebsd-emulation@ might know or/and help you to figure out with why Linux library is in /usr/local. BTW: You might want to reinstall fribidi to make sure it doesn't link with /usr/compat/linux/lib/libgcc_s.so.1. Cheers, Mezz -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org