Date: Thu, 18 Jan 2007 12:01:47 +0100 From: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> To: freebsd-ppc@freebsd.org Subject: Re: trouble compiling Ruby Message-ID: <20070118120147.4bd0093a.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20070117174932.4dd276ee.stas@FreeBSD.org> References: <20070116192259.09c62cc8.torfinn.ingolfsen@broadpark.no> <20070117015750.cd86f8ae.stas@FreeBSD.org> <20070117074351.1ece0483.torfinn.ingolfsen@broadpark.no> <20070117174932.4dd276ee.stas@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
On Wed, 17 Jan 2007 17:49:32 +0300 Stanislav Sedov <stas@FreeBSD.org> wrote: > Well, I believe you have a broken libpthread installed: > ----------------------------------------------------------- > configure:2631: checking whether the C compiler works > configure:2641: ./a.out > /libexec/ld-elf.so.1: /usr/lib/libpthread.so.2: Undefined symbol > "__malloc_lock" > ----------------------------------------------------------- > > Where have you taken it from? Probably someone of ppc people can Interesting. I haven't done anything other than this: - installing FreeBSD - upgrading FreeBSD (binary upgrade) - installing ports Let's have a look: root@kg-g4# ll /usr/lib/libpth* -r--r--r-- 1 root wheel 300312 Jan 7 12:28 /usr/lib/libpthread.a lrwxrwxrwx 1 root wheel 20 Jan 14 22:22 /usr/lib/libpthread.so@ -> /lib/libpthread.so.2 -r--r--r-- 1 root wheel 144876 Nov 5 2005 /usr/lib/libpthread.so.2 -r--r--r-- 1 root wheel 324420 Jul 31 16:07 /usr/lib/libpthread_p.a root@kg-g4# pkg_info -W /usr/lib/libpthread.so.2 (no outpu) Hmm, perhaps this file (/usr/lib/libpthread.so.2) wasn't upgraded? I will have to check the install CD, if there is a newer file on it. Thanks for pointing me in the right direction! -- Regards, Torfinn Ingolfsen, Norwayhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070118120147.4bd0093a.torfinn.ingolfsen>
