Well-known linkning problem for gnome applications (net/gq, graphics/gqview) ?

Vladimir Grebenschikov vova at fbsd.ru
Mon Sep 4 20:05:34 UTC 2006


В пн, 04/09/2006 в 12:12 -0500, Jeremy Messenger пишет:
> On Mon, 04 Sep 2006 06:19:36 -0500, Vladimir Grebenschikov <vova at fbsd.ru>  
> wrote:
> 
> > Hi
> >
> > I have following problem
> >
> > % gqview
> > /libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined  
> > symbol "pthread_getschedparam
> > %

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

Yes, really easy, patch here (and in PR):
Index: Makefile
===================================================================
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+=       --enable-cache
 .endif
 
+CONFIGURE_ENV=         CPPFLAGS="-I${LOCALBASE}/include" \
+               LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+
 .include <bsd.port.post.mk>

Thank you.
> Cheers,
> Mezz

-- 
Vladimir B. Grebenschikov
vova at fbsd.ru


More information about the freebsd-gnome mailing list