Subject: Re: dumb g++ linker question
To: None <port-i386@NetBSD.ORG>
From: Kent Polk <kent@tiamat.goathill.org>
List: port-i386
Date: 02/07/2001 18:31:09
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.

Now I've never had to set my LD_LIBRARY_PATH on NetBSD before and
everything works fine until this. Actually, that's always puzzled
me...  I've always had to set that on unix systems. How does NetBSD
deal with this?

Thanks