From: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
To: Wolfgang Rostek <wolfgang.rostek@gmx.de>,
Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: lttng-dev@lists.lttng.org
Subject: Re: Can't get any event output from the demo exe [solved]
Date: Sun, 29 Mar 2015 15:01:23 -0700 [thread overview]
Message-ID: <55187633.8000203__1543.22008970684$1427666578$gmane$org@voxpopuli.im> (raw)
In-Reply-To: <trinity-3a517d85-a1a4-4e19-a307-e67ef4d6a1a7-1427464856332@3capp-gmx-bs16>
On 15-03-27 07:00 AM, Wolfgang Rostek wrote:
> Hi Mathieu,
>
> weeks ago I did a different approach installing packages.
> That one I can't recap.
What I suspect happened here is that you installed some of the packages
from source using "make install", which copies the libraries in
/usr/local/lib/* .
*Then* you installed the packaged versions, which go in /usr/lib/*. But
the tricky part is that on Ubuntu and many other (most?) distros, the
ld.so.conf is configured to look in /usr/local/lib first for shared
libraries. If it finds a useable one, it loads that one and stops there.
In such a case, /usr/bin/lttng, installed from packages, would end up
using /usr/local/lib/liblttng-ust*.so, and so on. If both are not of the
exact same version, it can cause obscure problems like the one you had.
This is a very common source of problems in fact. I don't know of any
easy fix unfortunately, short of teaching people about library mangement
;) or bumping the soname of lttng-tools and UST's shared libraries every
release, to make sure non-compatible libraries are not loaded.
Cheers,
Alexandre
>
> Today I tried this one and simply started to get rid of existing things.
>
> I would see this as a beginners confusion and not worth
> to spend time here.
>
> I'm quite happy to see the nice LTTng output ;)
>
> Wolfgang R.
>
>
>> Gesendet: Freitag, 27. März 2015 um 14:52 Uhr
>> Von: "Mathieu Desnoyers" <mathieu.desnoyers@efficios.com>
>> An: "Wolfgang Rostek" <wolfgang.rostek@gmx.de>, "Alexandre Montplaisir" <alexmonthy@voxpopuli.im>
>> Cc: lttng-dev@lists.lttng.org
>> Betreff: Re: Aw: Re: Re: [lttng-dev] Can't get any event output from the demo exe [solved]
>>
>> Alexandre, maintainer of the PPA packages, will be
>> back from vacation in 2 weeks.
>>
>> Perhaps he could look into why you had to explicitly
>> uninstall packages before installing the PPA then.
>> Normally "conflicts with" should be taking care
>> of this kind of dependency.
>>
>> Thanks,
>>
>> Mathieu
>>
>> ----- Original Message -----
>>> Just right before the weekend I could repair it.
>>> Seems that I had some trouble with the installed packages.
>>>
>>> Here the steps working for me on Ubuntu 14 LTS
>>>
>>> http://installion.co.uk/ubuntu/utopic/universe/l/lttng-tools/uninstall/index.html
>>> sudo apt-get remove --auto-remove lttng-tools
>>>
>>> https://launchpad.net/~lttng/+archive/ubuntu/ppa
>>> sudo apt-add-repository ppa:lttng/ppa
>>> sudo apt-get update
>>> sudo apt-get install lttng-tools lttng-modules-dkms babeltrace
>>> liblttng-ust-dev python3-babeltrace
>>>
>>> thanks for your investigations
>>> Wolfgang R.
>>>
>> --
>> Mathieu Desnoyers
>> EfficiOS Inc.
>> http://www.efficios.com
>>
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
next prev parent reply other threads:[~2015-03-29 22:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <trinity-e73e3633-440b-429c-ad5e-bf48c3413989-1426531801924@3capp-gmx-bs44>
2015-03-16 19:55 ` Can't get any event output from the demo exe Jonathan Rajotte Julien
[not found] ` <55073522.6080006@efficios.com>
2015-03-16 21:37 ` Fw: " Wolfgang Rostek
2015-03-17 7:31 ` Wolfgang Rostek
2015-03-17 7:49 ` Wolfgang Rostek
[not found] ` <trinity-6a4fab60-3c7e-4785-a2f2-e42bba49fcb4-1426578599498@3capp-gmx-bs25>
2015-03-23 13:58 ` Mathieu Desnoyers
[not found] ` <1948116446.75706.1427119102220.JavaMail.zimbra@efficios.com>
2015-03-23 15:39 ` Wolfgang Rostek
[not found] ` <trinity-7f4e3d2c-257e-4b0c-92c6-b4db5e00c863-1427125168642@3capp-gmx-bs67>
2015-03-23 15:58 ` Mathieu Desnoyers
[not found] ` <430207063.77873.1427126336840.JavaMail.zimbra@efficios.com>
2015-03-27 8:27 ` Can't get any event output from the demo exe [solved] Wolfgang Rostek
[not found] ` <trinity-d22c7eac-b7c9-427b-9b66-822ed9615dc9-1427444856982@3capp-gmx-bs08>
2015-03-27 13:52 ` Mathieu Desnoyers
[not found] ` <2124338345.119592.1427464333584.JavaMail.zimbra@efficios.com>
2015-03-27 14:00 ` Wolfgang Rostek
[not found] ` <trinity-3a517d85-a1a4-4e19-a307-e67ef4d6a1a7-1427464856332@3capp-gmx-bs16>
2015-03-29 22:01 ` Alexandre Montplaisir [this message]
[not found] ` <55187633.8000203@voxpopuli.im>
2015-03-30 11:19 ` Wolfgang Rostek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='55187633.8000203__1543.22008970684$1427666578$gmane$org@voxpopuli.im' \
--to=alexmonthy@voxpopuli.im \
--cc=lttng-dev@lists.lttng.org \
--cc=mathieu.desnoyers@efficios.com \
--cc=wolfgang.rostek@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.