[lttng-dev] pkg-config --libs does not include -lurcu-bp
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Tue Apr 3 08:51:50 EDT 2012
Hi Stefan,
I think Debian did not switch to LTTng 2.0 yet, am I correct ? It would
be good to do the switch pretty soon, as 0.x is being less and less
supported. All the packages have been created and integrated into the
Ubuntu 12.04 LTS universe.
I remember we ensured, in UST 0.x, that the libust.so is itself linked
against liburcu-bp, so the latter does not need to be explicitely
specified on the compiler/linker command line. I would recommend to
gradually deprecate the 0.x toolchain in favor of 2.0 though.
Thanks,
Mathieu
* Stefan Hajnoczi (stefanha at gmail.com) wrote:
> It's necessary to link against -lurcu-bp when using LTTng UST but on
> Debian testing with libust-dev 0.16-1 I get the following from
> pkg-config:
>
> $ pkg-config --libs ust
> -lust
>
> I see /ust/lib/pkgconfig/ust.pc already contains Requires.private:
> liburcu-bp but that isn't reflected in the --libs output. Does it
> need to be updated?
>
> Thanks,
> Stefan
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list