/lib/pthread.so.2 is sought during some port compilation

Kris Kennaway kris at FreeBSD.org
Thu Nov 29 00:40:02 PST 2007


Yuri wrote:
> Sorry about that.
> Please find the logs below.
> 
> My system is upgraded from 6.3. And /lib/libpthread.so.2 is not a symlink.
> But when I make it a symlink (ln -s /lib/libthr.so.3 /lib/libpthread.so.2)
> I get another error, see log below.
> 
> Some requisite libs are compiled with /lib/libpthread.so.2 (?) and now
> firefox is being compiled with a new libc.so.7.
> 
> So do I have to rebuild all ports to be able to run on 7.0?

Yes.  You have to do this whenever you upgrade to a new branch of 
FreeBSD.  The old ports will work until you start upgrading them to new 
versions, at which point you will end up with binaries linked to two 
versions of FreeBSD libraries, like libc.so.6 and libc.so.7, and this is 
a recipe for disaster.

Kris



More information about the freebsd-hackers mailing list