/lib/pthread.so.2 is sought during some port compilation
Kris Kennaway
kris at FreeBSD.org
Wed Nov 28 16:55:17 PST 2007
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
More information about the freebsd-hackers
mailing list