Building 'abiword' fails on FreeBSD-6.3
Jeremy Messenger
mezz7 at cox.net
Tue Apr 8 21:37:50 UTC 2008
On Tue, 08 Apr 2008 16:11:05 -0500, Gerard <gerard at seibercom.net> wrote:
> On Tue, 08 Apr 2008 11:06:12 -0500
> "Jeremy Messenger" <mezz7 at cox.net> wrote:
>
>> On Tue, 08 Apr 2008 05:58:55 -0500, Gerard <gerard at 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 at GLIBC_2.0' /usr/local/lib/libgcc_s.so.1: undefined reference
>> > to `memset at GLIBC_2.0' /usr/local/lib/libgcc_s.so.1: undefined
>> > reference to `memcpy at GLIBC_2.0' /usr/local/lib/libgcc_s.so.1:
>> > undefined reference to
>> > `dl_iterate_phdr at GLIBC_2.2.4' /usr/local/lib/libgcc_s.so.1:
>> > undefined reference to
>> > `malloc at GLIBC_2.0' /usr/local/lib/libgcc_s.so.1: undefined
>> > reference to `abort at 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 at cox.net - mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org
More information about the freebsd-gnome
mailing list