Date: Tue, 08 Apr 2008 16:40:34 -0500 From: "Jeremy Messenger" <mezz7@cox.net> To: freebsd-gnome@freebsd.org Subject: Re: Building 'abiword' fails on FreeBSD-6.3 Message-ID: <op.t9bahwsy9aq2h7@mezz.mezzweb.com> In-Reply-To: <20080408171105.4cecea6a@scorpio> References: <20080408065855.21ec5c04@scorpio> <op.t9au0meb9aq2h7@mezz.mezzweb.com> <20080408171105.4cecea6a@scorpio>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 08 Apr 2008 16:11:05 -0500, Gerard <gerard@seibercom.net> wrote: > On Tue, 08 Apr 2008 11:06:12 -0500 > "Jeremy Messenger" <mezz7@cox.net> wrote: > >> On Tue, 08 Apr 2008 05:58:55 -0500, Gerard <gerard@seibercom.net> >> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.t9bahwsy9aq2h7>