Matthew Bettencourt <matt@mail.ssc.usm.edu> writes:
> However, if I compile using
> g++ ... -Wl,"rpath /home/matt/lib"
I don't see how that could work at all.
However, this should work:
g++ ... -Wl,-rpath,/home/matt/lib
I believe the linker documentation is correct. You are not using -Wl
correctly. See the documentation for -Wl.
Ian