Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Dec 1998 01:25:41 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        "Jason C. Wells" <jcwells@u.washington.edu>
Cc:        FreeBSD-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Kdesupport Build Dies 
Message-ID:  <199812060125.BAA71447@keep.lan.Awfulhak.org>
In-Reply-To: Your message of "Fri, 04 Dec 1998 20:07:34 PST." <Pine.BSF.4.05.9812041954230.8613-100000@s8-37-26.student.washington.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@Awfulhak.org> <brian@FreeBSD.org> <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
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



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