From: Mike Brodbelt (mike@last.fm)
Date: Tue Feb 19 2008 - 11:44:46 EST
Mike Brodbelt wrote:
> # echo $LDFLAGS
> -L/usr/sfw/lib/amd64 -L/usr/local/lib/amd64 -R/usr/sfw/lib/amd64
> -R/usr/local/lib/amd64
<snip>
> So, I'm confused - it's building with a runtime link path of
> /usr/sfw/lib, and I can't seem to override this. Any advice would be
> much appreciated.
So, the problem turned out to be that the test program was linking
against a locally built 64-bit readline library, and when I'd built
that, I forgot to set the linker RPATH properly. Thanks to Francisco
Rocque who suggested some stuff that helped me find the problem. Lesson
learned - for runtime errors, "ldd -v" is your friend.
Mike
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:42:47 EDT