[lttng-dev] pkg-config --libs does not include -lurcu-bp

Yannick Brosseau yannick.brosseau at gmail.com
Tue Apr 3 08:47:23 EDT 2012


On 2012-04-03 04:45, Stefan Hajnoczi 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?
>
Normally, you should not need to add -lurcu-bp to link with LTTng-UST.
(Which is why it's not in the pkg-config)
Which version of lttng-ust are you using?



More information about the lttng-dev mailing list