Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Sep 2006 00:05:14 +0400
From:      Vladimir Grebenschikov <vova@fbsd.ru>
To:        Jeremy Messenger <mezz7@cox.net>
Cc:        dryice@dryice.name, gnome <freebsd-gnome@freebsd.org>, ale@freebsd.org
Subject:   Re: Well-known linkning problem for gnome applications (net/gq, graphics/gqview) ?
Message-ID:  <1157400314.1283.10.camel@localhost>
In-Reply-To: <op.tfc52yu99aq2h7@mezz.mezzweb.com>
References:  <1157368776.1362.23.camel@localhost> <op.tfc52yu99aq2h7@mezz.mezzweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=F7 =D0=CE, 04/09/2006 =D7 12:12 -0500, Jeremy Messenger =D0=C9=DB=C5=D4:
> On Mon, 04 Sep 2006 06:19:36 -0500, Vladimir Grebenschikov <vova@fbsd.ru>=
 =20
> wrote:
>=20
> > Hi
> >
> > I have following problem
> >
> > % gqview
> > /libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined =20
> > symbol "pthread_getschedparam
> > %

> > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D102844
>=20
> No patch, but I am sure that it's easy to add ${PTHREAD_LIBS}.

Yes, really easy, patch here (and in PR):
Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /usr/ncvs/ports/net/gq/Makefile,v
retrieving revision 1.33
diff -u -r1.33 Makefile
--- Makefile    21 May 2006 12:33:35 -0000      1.33
+++ Makefile    4 Sep 2006 19:51:24 -0000
@@ -46,4 +46,7 @@
 CONFIGURE_ARGS+=3D       --enable-cache
 .endif
=20
+CONFIGURE_ENV=3D         CPPFLAGS=3D"-I${LOCALBASE}/include" \
+               LDFLAGS=3D"-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+
 .include <bsd.port.post.mk>

Thank you.
> Cheers,
> Mezz

--=20
Vladimir B. Grebenschikov
vova@fbsd.ru



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