Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Mar 2008 19:19:07 +0100
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Dmitry RCL Rekman <dmitry.rekman@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: "Mutex unlock failure" when compiling KDE (upgrade from 6.x)
Message-ID:  <47E54D9B.3030708@FreeBSD.org>
In-Reply-To: <d9895e060803221109o4e07fd06i3572459c7f1c4480@mail.gmail.com>
References:  <d9895e060803212221g1d0698cbw78f06ef260f68a20@mail.gmail.com>	 <47E51D4B.5050008@FreeBSD.org>	 <d9895e060803220914l53b5b413t86ab268d3446fba9@mail.gmail.com>	 <47E53826.4070503@FreeBSD.org>	 <d9895e060803221003o858ab58jf0bc3efff8918df8@mail.gmail.com>	 <47E53E73.1010205@FreeBSD.org>	 <d9895e060803221032ofca3505je0cf877beb5411c2@mail.gmail.com>	 <47E5449D.40503@FreeBSD.org>	 <d9895e060803221048m84fc8a6vdea87c35718820a1@mail.gmail.com>	 <47E54877.10808@FreeBSD.org> <d9895e060803221109o4e07fd06i3572459c7f1c4480@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dmitry RCL Rekman wrote:
> Hi,
> 
> On Sat, Mar 22, 2008 at 6:57 PM, Kris Kennaway <kris@freebsd.org 
> <mailto:kris@freebsd.org>> wrote:
> 
>     Dmitry RCL Rekman wrote:
>      > Hi,
>      >
>      > On Sat, Mar 22, 2008 at 6:40 PM, Kris Kennaway <kris@freebsd.org
>     <mailto:kris@freebsd.org>
>      > <mailto:kris@freebsd.org <mailto:kris@freebsd.org>>> wrote:
>      >
>      >      > Well, the commandline used to build libqt-mt is included
>     in the
>      >     log and
>      >      > it also links to -pthread...
>      >
>      >     Yes, also uic (correctly) links directly to -pthread (I
>     missed this on
>      >     first read).  The only way I can see this failing is if your
>     /lib is not
>      >     correctly populated.  What is the output of
>      >
>      >     ls -l /lib/libthr* /usr/lib/libpthr*
>      >
>      >
>      > # ls -l /lib/libthr* /usr/lib/libpthr*
>      > -r--r--r--  1 root  wheel  66928 Feb 29 12:20 /lib/libthr.so.3
>      > lrwxr-xr-x  1 root  wheel      8 Feb 29 12:21
>     /usr/lib/libpthread.a ->
>      > libthr.a
>      > lrwxr-xr-x  1 root  wheel     10 Feb 29 12:21
>     /usr/lib/libpthread_p.a ->
>      > libthr_p.a
> 
>     Yep, your world is broken, you are missing a /usr/lib/libpthread.so
>     symlink.
> 
> 
> Ok, I created a symlink /usr/lib/libpthread.so -> /usr/lib/libthr.so and 
> am trying to build kdebase3 again. Will inform shortly :-)

Well you'll likely have to rebuild other things first to recover from 
the damage compiled into an unknown subset of your existing ports. 
Repeating portupgrade -fa might be the best option.

Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47E54D9B.3030708>