[lttng-dev] Odd dependency for lttng-ust - resolved

Alexandre Montplaisir alexmonthy at voxpopuli.im
Fri Jan 25 12:57:14 EST 2013


Hi Daniel,

On 13-01-25 12:32 PM, Thibault, Daniel wrote:
> [...]
>
>    Until this old gold bug is fixed (which looks unlikely considering its age), maybe each package's configure.ac could be made to explicitly look into /usr/local/lib when /lib and /usr/lib fail?  Or the ReadMe files of lttng-ust and lttng-tools could be modified to mention the workaround?
>

I'm not sure if they are any distro that uses gold by default, instead
of the more venerable/tested "ld". I know Ubuntu doesn't.

I think in your case the problem was because you still had the libraries
from Ubuntu's older package installed in /usr/lib, and as you mentioned,
the linker looks in that location before trying /usr/local/lib. In such
a "custom" setup, you would need to override LDFLAGS. But someone that
has nothing installed in /usr/lib should get the libraries in
/usr/local/lib selected by the linker automatically.

Cheers,
Alexandre



More information about the lttng-dev mailing list