Subject: Re: static vs. dynamic runtime linking, again (was: PAM and su -K)
To: Greywolf <greywolf@starwolf.com>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-userlevel
Date: 01/25/2005 09:22:11
On Jan 24, 2005, at 3:49 PM, Greywolf wrote:
> You need -Wl,-R/usr/X11R6/lib. -L only (attempts to) resolve symbols
> missing at link time; the -Wl,-R (which used to work fine with -R but
> doesn't anymore) specifies the run-time path.
If it doesn't work anymore, then file a PR. -R is supposed to work as
well as -L when passed as an argument to GCC. If it doesn't work, then
it means the NetBSD target configuration is broken somehow.
-- Jason R. Thorpe <thorpej@shagadelic.org>