bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/16936] $ORIGIN in shared library's rpath not used to find librar


From: sdvormwa at mtu dot edu
Subject: [Bug ld/16936] $ORIGIN in shared library's rpath not used to find library dependencies at link time
Date: Mon, 12 May 2014 17:14:48 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]