freebsd
[Início] [Todas as Listas]

Re: [FUG-BR] Spinlock - ruby18

From: Ricardo A Reis <ricardo_bsd@xxxxxxxxxxxx>
To: Lista de discussao do grupo FUG-BR <Freebsd@xxxxxxxxxx>
Subject: Re: [FUG-BR] Spinlock - ruby18
Date: Fri, 29 Jul 2005 17:22:47 -0300
Anderson Jardim wrote:

Prezados,

Depois de atualizar o ruby18 atraves do portupgrade estou me deparando com esse erro abaixo:

Fatal error 'Spinlock called when not threaded.' at line 83 in file /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 2)

#portversion -l "<"
Fatal error 'Spinlock called when not threaded.' at line 83 in file /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 2)

Ja procurei em varios lugares mas nao falam do ruby18, falam sobre outros pacotes e versoes de kernel anteriores.

Apantemente alguns pacotes ainda esta apontando para libpthread antiga, compara com essa saida de ldd !

ldd /usr/local/bin/ruby /usr/local/bin/ruby:
       libruby18.so.18 => /usr/local/lib/libruby18.so.18 (0x28077000)
       libcrypt.so.2 => /lib/libcrypt.so.2 (0x2813e000)
       libm.so.3 => /lib/libm.so.3 (0x28157000)
       libpthread.so.1 => /usr/lib/libpthread.so.1 (0x28172000) "aqui"
       libc.so.5 => /lib/libc.so.5 (0x28197000)

Da uma olhada do UP

20040303:
       If you are having trouble with the libc_r -> libpthread transition
       (see the 20040130 entry), place the following lines at the top of
       /etc/libmap.conf:

       libc_r.so.5             libpthread.so.1
       libc_r.so               libpthread.so

       This will cause all programs and libraries linked against libc_r
       to use libpthread instead.


Apos vc fazer isso tenta atualizar novamente e comentar a linha no libmap!


Atenciosamente

Ricardo A. Reis
UNIFESP - SENAI

_______________________________________________
Freebsd mailing list
Freebsd@xxxxxxxxxx
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


<Anterior na Thread] Thread Atual [Próximo na Thread>