Subject: Re: Stiil can't find "libX11.so.6"
To: Lets Go Canes! <LetsGoCanes@webmail.bellsouth.net>
From: Andrew Gillham <gillhaa@ghost.whirlpool.com>
List: port-alpha
Date: 06/08/2000 12:35:18
Lets Go Canes! writes:
> Hi all.
> 
> First, thanks for all the suggestions offered so far!
> 
> OK - I found and reviewed the information in the "NetBSD ELF FAQ".  I have attempted (and I may not have gotten it right) to add the "--export-dynamic" flag while linking.  Running the program (cgoban) still results in the message:
> 
> Shared object "libX11.so.6" not found
> 
> I have built and run this program on other Unix flavors without any problem.
> 
> I'm still playing around with the make file, but would appreciate any suggestions on how to fix this.

What if you just add "-rpath /usr/X11R6/lib" to your linker arguments?
(or -Wl,-rpath=/usr/X11R6/lib to 'cc' arguments)

-Andrew
-- 
-----------------------------------------------------------------
Andrew Gillham                            | NetBSD ist Affengeil.
gillham@whirlpool.com                     | Nachts ist es kaelter
I speak for myself, not for my employer.  | als draussen.