trouble compiling Ruby

Torfinn Ingolfsen torfinn.ingolfsen at broadpark.no
Thu Jan 18 11:01:49 UTC 2007


On Wed, 17 Jan 2007 17:49:32 +0300
Stanislav Sedov <stas at 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 at 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 at 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,
Norway



More information about the freebsd-ppc mailing list