From: Lakshmi Deverkonda via lttng-dev <lttng-dev@lists.lttng.org>
To: "lttng-dev@lists.lttng.org" <lttng-dev@lists.lttng.org>
Subject: [lttng-dev] Python lttngust module import error
Date: Tue, 26 Dec 2023 16:19:49 +0000 [thread overview]
Message-ID: <MW3PR12MB4555207ADC0ECAF8DA3EFF74D998A@MW3PR12MB4555.namprd12.prod.outlook.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 2774 bytes --]
Hi,
I'm observing an issue recently wrt import of python3 lttng module.
Following is the error and need your help to find out what is wrong.
>>> import lttngust
Exception in thread system:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.7/dist-packages/lttngust/agent.py", line 291, in _client_thread_target
client = _TcpClient(name, _SESSIOND_HOST, port, reg_queue)
File "/usr/local/lib/python3.7/dist-packages/lttngust/agent.py", line 76, in __init__
raise e
File "/usr/local/lib/python3.7/dist-packages/lttngust/agent.py", line 73, in __init__
self._log_handler = lttngust.loghandler._Handler()
File "/usr/local/lib/python3.7/dist-packages/lttngust/loghandler.py", line 32, in __init__
self.agent_lib = ctypes.cdll.LoadLibrary(_Handler._LIB_NAME)
File "/usr/lib/python3.7/ctypes/__init__.py", line 434, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python3.7/ctypes/__init__.py", line 356, in __init__
self._handle = _dlopen(self._name, mode)
OSError: liblttng-ust-python-agent.so: cannot open shared object file: No such file or directory
>>>
I have installed liblttng-ust-python-agent.so
/# ldconfig -p | grep liblttng
liblttng-ust.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust.so.0
liblttng-ust-tracepoint.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-tracepoint.so.0
liblttng-ust-python-agent.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-python-agent.so.0
liblttng-ust-pthread-wrapper.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-pthread-wrapper.so.0
liblttng-ust-libc-wrapper.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-libc-wrapper.so.0
liblttng-ust-fork.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-fork.so.0
liblttng-ust-fd.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-fd.so.0
liblttng-ust-dl.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-dl.so.0
liblttng-ust-cyg-profile.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-cyg-profile.so.0
liblttng-ust-cyg-profile-fast.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-cyg-profile-fast.so.0
liblttng-ust-ctl.so.4 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-ctl.so.4
liblttng-ctl.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ctl.so.0
Regards,
Lakshmi
[-- Attachment #1.2: Type: text/html, Size: 10648 bytes --]
[-- Attachment #2: Type: text/plain, Size: 156 bytes --]
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
next reply other threads:[~2023-12-26 16:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-26 16:19 Lakshmi Deverkonda via lttng-dev [this message]
2024-01-08 15:10 ` Kienan Stewart via lttng-dev
2024-01-08 16:52 ` Michael Jeanson via lttng-dev
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=MW3PR12MB4555207ADC0ECAF8DA3EFF74D998A@MW3PR12MB4555.namprd12.prod.outlook.com \
--to=lttng-dev@lists.lttng.org \
--cc=laksd@nvidia.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox