Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2005 21:47:50 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        lukem.freebsd@cse.unsw.edu.au
Cc:        Adam Weinberger <adamw@magnesium.net>, freebsd-ports@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Building gtk-2.6.9: problem and solution
Message-ID:  <1123811270.32266.5.camel@shumai.marcuscom.com>
In-Reply-To: <Pine.LNX.4.61.0508121057470.12740@wagner.orchestra.cse.unsw.EDU.AU>
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> <Pine.LNX.4.61.0508121057470.12740@wagner.orchestra.cse.unsw.EDU.AU>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-KdgRR/q9Ft7jcG3E33co
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2005-08-12 at 11:20 +1000, lukem.freebsd@cse.unsw.edu.au wrote:
> On Thu, 11 Aug 2005, Joe Marcus Clarke wrote:
> >> Could someone tell me whether the pthread_ functions should actually b=
e
> >> 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.
>=20
> Indeed, it does not contain -pthread:
> bash-2.05b# pkg-config --libs gthread-2.0
> -L/usr/local/lib -lgthread-2.0 -lc_r
>=20
> How would one fix this?
>=20
> I have already rebuilt glib20 (glib-2.6.6), both by make deinstall / make=
=20
> reinstall and by portupgrade -Rf glib-2.6.6.

No, it contains -lc_r.  Depending on the version of FreeBSD, it should
contain either -pthread or -lpthread.  What version of FreeBSD is this?=20

Joe

>=20
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-KdgRR/q9Ft7jcG3E33co
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBC+//Gb2iPiv4Uz4cRArmWAJ95Cjk0yynRJRWforZhrpmn1w8NaACgikg2
AqIRrYNoMd48Z1CvWKqRKo8=
=Vd42
-----END PGP SIGNATURE-----

--=-KdgRR/q9Ft7jcG3E33co--




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