Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Aug 2005 11:20:47 +1000 (EST)
From:      lukem.freebsd@cse.unsw.edu.au
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        Adam Weinberger <adamw@magnesium.net>, freebsd-ports@freebsd.org, lukem.freebsd@cse.unsw.edu.au, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Building gtk-2.6.9: problem and solution
Message-ID:  <Pine.LNX.4.61.0508121057470.12740@wagner.orchestra.cse.unsw.EDU.AU>
In-Reply-To: <1123807737.32266.2.camel@shumai.marcuscom.com>
References:  <Pine.LNX.4.61.0508111013490.8401@wagner.orchestra.cse.unsw.EDU.AU> <20050811004326.GA35300@xor.obsecurity.org>  <Pine.LNX.4.61.0508111059070.18130@wagner.orchestra.cse.unsw.EDU.AU>  <42FAA6A3.3010802@magnesium.net> <Pine.LNX.4.61.0508111221340.18130@wagner.orchestra.cse.unsw.EDU.AU> <1123727194.18409.8.camel@shumai.marcuscom.com>  <Pine.LNX.4.61.0508120922001.25743@wagner.orchestra.cse.unsw.EDU.AU> <1123807737.32266.2.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 11 Aug 2005, Joe Marcus Clarke wrote:
>> Could someone tell me whether the pthread_ functions should actually be
>> defined in /usr/local/lib/libgthread-2.0.so.
>
> No, they shouldn't.  They're defined in libpthread.so.  However, they
> will not be linked into shared libraries.  Instead, the pkg-config
> output for gthread-2.0 should contain -pthread.  What does ``pkg-config
> --libs gthread-2.0'' report?  If it doesn't contain -pthread, then you
> need to fix your glib20 installation.

Indeed, it does not contain -pthread:
bash-2.05b# pkg-config --libs gthread-2.0
-L/usr/local/lib -lgthread-2.0 -lc_r

How would one fix this?

I have already rebuilt glib20 (glib-2.6.6), both by make deinstall / make 
reinstall and by portupgrade -Rf glib-2.6.6.

-- 
Luke



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.61.0508121057470.12740>