[lttng-dev] Odd dependency for lttng-ust

Christian Babeux christian.babeux at efficios.com
Mon Jan 21 15:06:51 EST 2013


Hi Daniel,

Could you make sure that all previous liburcu versions are properly
uninstalled (e.g. no liburcu* in /usr/lib)?

I think that you might have an old version installed and that
configure is looking up the library via the default LD_LIBRARY_PATH
which contains /usr/lib before /usr/local/lib and hence you see the
error that "checking for _cds_lfht_new in -lurcu-cds no" even though a
newer version is present in /usr/local/lib.

As a general guideline, make sure when you install packages from
source that you uninstall previous version that might have been
installed by your package manager in order to minimize potential
conflicts.

Christian

On Mon, Jan 21, 2013 at 2:34 PM, Thibault, Daniel
<Daniel.Thibault at drdc-rddc.gc.ca> wrote:
> -----Message d'origine-----
> De : Mathieu Desnoyers [mailto:mathieu.desnoyers at efficios.com]
> Envoyé : 21 janvier 2013 13:39
>
> As the error messages suggests, please try:
> LDFLAGS=-L/usr/local/lib ./configure
> instead of "./configure"
>
> Mathieu
> -----Fin du message d'origine-----
>
>    Interesting, that prefix does allow configure to complete successfully.  lttng-tools runs into the same problem as lttng-ust, and requires the same LDFLAGS prefix for its configure.  No other problems arise.
>
>    So how do we fix userspace-rcu so the bootstrap -configure - make - install sequence doesn't run into this problem?  I'm presuming here that userspace-rcu's install needs to be touched up.  Or maybe lttng-ust's (and lttng-tools's) bootstrap.
>
>    (It's a problem because the ReadMe for the lttng-ust and lttng-tools packages stipulate a plain ./configure invocation: as they currently stand, the instructions fail)
>
> Daniel U. Thibault
> R & D pour la défense Canada - Valcartier (RDDC Valcartier) / Defence R&D Canada - Valcartier (DRDC Valcartier)
> Cyber sécurité pour les missions essentielles (CME) / Mission Critical Cyber Security (MCCS)
> Protection des systèmes et contremesures (PSC) / Systems Protection & Countermeasures (SPC)
> 2459 route de la Bravoure
> Québec, QC  G3J 1X5
> CANADA
> Vox : (418) 844-4000 x4245
> Fax : (418) 844-4538
> NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
> Gouvernement du Canada / Government of Canada
> <http://www.valcartier.drdc-rddc.gc.ca/>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev



More information about the lttng-dev mailing list