Subject: Re: dumb g++ linker question
To: None <kent@goatnospamhill.org>
From: Nick Hudson <skrll@netbsd.org>
List: port-i386
Date: 02/09/2001 17:02:14
Kent Polk wrote:
> 
> On 5 Feb 2001 14:15:00 -0600, Nick Hudson wrote:
> >Kent Polk wrote:
> >>
> >> I'm trying to compile qHolo on a 1.5 system and appear to have problems
> >> getting g++ to locate std libraries. The qHolo Makefile results are listed
> >> below, but the libraries appear to be available:
> >>
> >> $ ll /usr/X11R6/lib/libXmu.so*
> >> -L/usr/X11R6/lib -L/usr/X11R6/qt2/lib -lqt -lXext -lX11 -lm
> ...
> 
> >Try using -Wl,-rpath or (say it quietly) libtool.
> 
> Tried all that except libtool. I finally started playing around
> with explicitly naming and rearranging the libraries and managed
> to get it to link. Can't get it to run without setting my
> LD_LIBRARY_PATH though.

Actually libtool won't help... yet! The version in pkgsrc doesn't
support inter-library dependencies. The one I about to check in soon
does so that it will use information from say libqt.la to help with the
--rpath options.

Nick
-- 
aka skrll@netbsd.org, skrll@excite.co.uk