Bug#291641: libtool: resolves dependencies to the install tree rather than the build tree
Scott James Remnant <scott@netsplit.com> writes:
> On Sat, 2005-01-22 at 01:01 +0000, Philip Martin wrote:
>
>> A recent change to the Subversion source (revision 12801) introduced
>> new functions into the three dependent libraries, and made
>> libsvn_ra-1.so reference those new functions.
>>
> Does only libsvn_ra-1.so reference these new functions? Or does the svn
> binary reference these new functions?
Only libsvn_ra-1.so.
>> Now the link fails citing unresolved symbols corresponding to the new
>> functions (and only the new functions not any of the old functions).
>>
> Which link? Linking libsvn_ra-1.so or the svn binary?
The svn binary.
> Adding -Wl,--rpath -Wl,/path/to/dependency/libs to the link line seems
> to cure the problem.
I added three of those, one for each of the dependent libraries, to
the list of parameters used to invoke libtool when linking the svn
binary. I can confirm that it does make the link succeed.
--
Philip Martin
Reply to: