Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2007 01:55:26 +0100
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Yuri <yuri@rawbw.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: /lib/pthread.so.2 is sought during some port compilation
Message-ID:  <474E0DFE.9000706@FreeBSD.org>
In-Reply-To: <1196295955.474e0713b530b@webmail.rawbw.com>
References:  <1196295955.474e0713b530b@webmail.rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yuri wrote:
> I tried to compile firefox-2.0.0.10 on 7.0-BETA3.
> And one linking command failed seeking for malloc_lock symbol required by
> /lib/pthread.so.2. Obviously it tried to link obsolete /lib/pthread.so.2 with
> the new /lib/libc.so.7.
> 
> By reading /usr/src/UPDATING I learn that the default threading library has been
> replaced by /lib/libthr.so.
> 
> Why would linker seek for libpthread.so instead of libthr.so?

libpthread is a symlink to libthr on a correctly functioning FreeBSD 7.0 
installation.

In general, when you encounter a problem you need to cut and paste the 
exact errors, instead of typing from memory and getting it wrong (there 
is no "/lib/pthread.so.2", etc).  Showing us the errors mean that we are 
more likely to understand your problem and help you to fix it.

Kris




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?474E0DFE.9000706>