Subject: Re: Stiil can't find
To: Andrew Gillham <gillhaa@ghost.whirlpool.com>
From: Lets Go Canes! <LetsGoCanes@webmail.bellsouth.net>
List: port-alpha
Date: 06/08/2000 13:51:12
Hi all.

Adding "-Wl,-rpath=/usr/X11R6/lib" as suggested below did the trick!

Thanks muchly for the help.





At Thu, 8 Jun 2000 12:35:18 -0400 (EDT), you wrote:
>
>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.
>
>
---------------
Let's Go Canes!