https://sourceware.org/bugzilla/show_bug.cgi?id=16936
--- Comment #1 from Steven Vormwald <sdvormwa at mtu dot edu> --- (In reply to Steven Vormwald from comment #0) > ${CUSTOM_LD_PATH}/x86_64-unknown-linux-gnu/bin/ld: warning: libbar.so, > needed by lib//libfoo.so, not found (try using -rpath or -rpath-link) > lib//libfoo.so: undefined reference to `bar' > collect2: ld returned 1 exit status Oops, cut-and-paste error here. I copied and edited (to remove employer-specific paths) the failure from before I tried building a version of the library without $ORIGIN. Here's the correct error: ${CUSTOM_LD_PATH}/x86_64-unknown-linux-gnu/bin/ld: warning: libbar.so, needed by lib//libfoo_origin.so, not found (try using -rpath or -rpath-link) lib//libfoo_origin.so: undefined reference to `bar' collect2: ld returned 1 exit status -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils