Subject: Re: -Wl,-rpath on non-ELF systems
To: Jan Schaumann <>
From: Jared D. McNeill <>
List: tech-pkg
Date: 08/22/2002 15:47:38
On Thu, 22 Aug 2002, Jan Schaumann wrote:
> Hmmm, even though the ld(1) on the linux machine is newer than the one
> on my netbsd boxen, I'm having problems.  In particular, the compilation
> of the source-file works fine (gcc [...] -Wl,-rpath /path [...]), but
> then the linking fails, as if the '-rpath' option wasn't given at all
> (gcc -shared -o file /path files).  That is, it simply adds the '/path'
> instead of passing the '-L/path' flags.

Don't you need to specify gcc [...] -Wl,-rpath -Wl,/path [...] ?


Jared D. McNeill -- jmcneillATinvisibleDOTca