From owner-freebsd-questions Sat Dec 5 17:25:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA04879 for freebsd-questions-outgoing; Sat, 5 Dec 1998 17:25:46 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA04840 for ; Sat, 5 Dec 1998 17:25:13 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id BAA04694; Sun, 6 Dec 1998 01:24:23 GMT (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.1/8.9.1) with ESMTP id BAA71447; Sun, 6 Dec 1998 01:25:42 GMT (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199812060125.BAA71447@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Jason C. Wells" cc: FreeBSD-questions Subject: Re: Kdesupport Build Dies In-reply-to: Your message of "Fri, 04 Dec 1998 20:07:34 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 06 Dec 1998 01:25:41 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Here is a snippet from my build. > > /usr/ports/converters/kdesupport $ make > ...snip... > /bin/sh ../libtool --mode=link c++ -O -pipe -L/usr/X11R6/lib -o example > example.o libQwSpriteField.la -lqt -lX11 > c++ -O -pipe -L/usr/X11R6/lib -o .libs/example example.o -Wl,--rpath > -Wl,/usr/local/lib .libs/libQwSpriteField.so -L/usr/X11R6/lib -lqt -lX11 > -lqt -lX11 > /usr/libexec/elf/ld: warning: libXext.so.6, needed by > /usr/X11R6/lib/libqt.so, not found (try using --rpath) > /usr/X11R6/lib/libqt.so: undefined reference to `XShapeCombineRegion' > /usr/X11R6/lib/libqt.so: undefined reference to `XShapeCombineMask' > *** Error code 1 > > But Xext is right where it ought to be. > -rwxr-xr-x 1 root wheel 44983 Nov 25 23:43 /usr/X11R6/lib/libXext.so.6 > > I run 3.0 and I do have the "upgrade kit" which fixed a lot of earlier > problems. The port bits are fresh from last night. > > I saw the comments about -rpath and read the man but it is all greek to > me. Is the port broke or am I broke? How do I get this to build? I just noticed this too. It can be fixed by manually tweaking the Makefile in that directory and adding ``-Wl,--rpath -Wl,/usr/X11R6/lib'' to the CXXLINK definition (I think that was the variable name - CXX something anyway). I'll try to get time to fix it properly soon. > Catchya Later, | UW Mechanical Engineering > Jason Wells | http://weber.u.washington.edu/~jcwells/ -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message