From owner-freebsd-ports Tue Jan 5 22:00:13 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA20025 for freebsd-ports-outgoing; Tue, 5 Jan 1999 22:00:13 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from adelphi.physics.adelaide.edu.au (adelphi.physics.adelaide.edu.au [129.127.36.247]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA19995; Tue, 5 Jan 1999 22:00:08 -0800 (PST) (envelope-from kkennawa@physics.adelaide.edu.au) Received: from bragg (bragg [129.127.36.34]) by adelphi.physics.adelaide.edu.au (8.8.8/8.8.8/UofA-1.5) with SMTP id QAA30571; Wed, 6 Jan 1999 16:29:37 +1030 (CST) Received: from localhost by bragg; (5.65/1.1.8.2/05Aug95-0227PM) id AA09382; Wed, 6 Jan 1999 16:29:36 +1030 Date: Wed, 6 Jan 1999 16:29:36 +1030 (CST) From: Kris Kennaway X-Sender: kkennawa@bragg To: Bill Woods Cc: current@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: kdesupport11 port build problems on -current elf In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 5 Jan 1999, Bill Woods wrote: > 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 This seems common for ports using libqt - for some reason they don't see libXext in /usr/X11R6/lib (but not for everyone, apparently, since the thing was committed in the first place). If you add -lXext to the linker link above, it links fine. I don't know how to use the --rpath option suggested, but I suspect this is it. Any hints, anyone? This should probably also have gone to freebsd-ports@freebsd.org, where I'm redirecting replies. Kris ----- (ASP) Microsoft Corporation (MSFT) announced today that the release of its productivity suite, Office 2000, will be delayed until the first quarter of 1901. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message