<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I'm observing an issue recently wrt import of python3 lttng module. </div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Following is the error and need your help to find out what is wrong. </div>
<div class="elementToProof"><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">>>> import lttngust</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">Exception in thread system:</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">Traceback (most recent call last):</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);"> File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);"> self.run()</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);"> File "/usr/lib/python3.7/threading.py", line 865, in run</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);"> self._target(*self._args, **self._kwargs)</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);"> File "/usr/local/lib/python3.7/dist-packages/lttngust/agent.py", line 291, in _client_thread_target</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);"> client = _TcpClient(name, _SESSIOND_HOST, port, reg_queue)</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);"> File "/usr/local/lib/python3.7/dist-packages/lttngust/agent.py", line 76, in __init__</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);"> raise e</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);"> File "/usr/local/lib/python3.7/dist-packages/lttngust/agent.py", line 73, in __init__</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);"> self._log_handler = lttngust.loghandler._Handler()</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);"> File "/usr/local/lib/python3.7/dist-packages/lttngust/loghandler.py", line 32, in __init__</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);"> self.agent_lib = ctypes.cdll.LoadLibrary(_Handler._LIB_NAME)</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);"> File "/usr/lib/python3.7/ctypes/__init__.py", line 434, in LoadLibrary</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);"> return self._dlltype(name)</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);"> File "/usr/lib/python3.7/ctypes/__init__.py", line 356, in __init__</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);"> self._handle = _dlopen(self._name, mode)</span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);"><b>OSError: liblttng-ust-python-agent.so: cannot open shared object file: No such file or directory</b></span></div>
<div><span style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);"><br>
</span><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">>>></span></div>
<div class="elementToProof"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">I have installed
</span><span style="letter-spacing: normal; font-family: "Courier New", monospace; font-size: 16px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><b>liblttng-ust-python-agent.so</b></span></div>
<div class="elementToProof"><span style="letter-spacing: normal; font-family: "Courier New", monospace; font-size: 16px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><b><br>
</b></span></div>
<div class="elementToProof"><span style="letter-spacing: normal; font-family: "Courier New", monospace; font-size: 16px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">/# ldconfig -p | grep liblttng</span></div>
<div><span style="letter-spacing: normal; font-family: "Courier New", monospace; font-size: 16px; color: rgb(0, 0, 0);"> liblttng-ust.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust.so.0</span></div>
<div><span style="letter-spacing: normal; font-family: "Courier New", monospace; font-size: 16px; color: rgb(0, 0, 0);"> liblttng-ust-tracepoint.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-tracepoint.so.0</span></div>
<div><span style="letter-spacing: normal; font-family: "Courier New", monospace; font-size: 16px; color: rgb(0, 0, 0);"> </span><span style="letter-spacing: normal; font-family: "Courier New", monospace; font-size: 16px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 0);"><b>liblttng-ust-python-agent.so.0
(libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-python-agent.so.0</b></span></div>
<div><span style="letter-spacing: normal; font-family: "Courier New", monospace; font-size: 16px; color: rgb(0, 0, 0);"> liblttng-ust-pthread-wrapper.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-pthread-wrapper.so.0</span></div>
<div><span style="letter-spacing: normal; font-family: "Courier New", monospace; font-size: 16px; color: rgb(0, 0, 0);"> liblttng-ust-libc-wrapper.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-libc-wrapper.so.0</span></div>
<div><span style="letter-spacing: normal; font-family: "Courier New", monospace; font-size: 16px; color: rgb(0, 0, 0);"> liblttng-ust-fork.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-fork.so.0</span></div>
<div><span style="letter-spacing: normal; font-family: "Courier New", monospace; font-size: 16px; color: rgb(0, 0, 0);"> liblttng-ust-fd.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-fd.so.0</span></div>
<div><span style="letter-spacing: normal; font-family: "Courier New", monospace; font-size: 16px; color: rgb(0, 0, 0);"> liblttng-ust-dl.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-dl.so.0</span></div>
<div><span style="letter-spacing: normal; font-family: "Courier New", monospace; font-size: 16px; color: rgb(0, 0, 0);"> liblttng-ust-cyg-profile.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-cyg-profile.so.0</span></div>
<div><span style="letter-spacing: normal; font-family: "Courier New", monospace; font-size: 16px; color: rgb(0, 0, 0);"> liblttng-ust-cyg-profile-fast.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-cyg-profile-fast.so.0</span></div>
<div><span style="letter-spacing: normal; font-family: "Courier New", monospace; font-size: 16px; color: rgb(0, 0, 0);"> liblttng-ust-ctl.so.4 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ust-ctl.so.4</span></div>
<div class="elementToProof"><span style="letter-spacing: normal; font-family: "Courier New", monospace; font-size: 16px; color: rgb(0, 0, 0);"> liblttng-ctl.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblttng-ctl.so.0</span></div>
<div class="elementToProof"><span style="letter-spacing: normal; font-family: "Courier New", monospace; font-size: 16px; color: rgb(0, 0, 0);"><br>
</span></div>
<div class="elementToProof"><span style="letter-spacing: normal; font-family: "Courier New", monospace; font-size: 16px; color: rgb(0, 0, 0);"><br>
</span></div>
<div class="elementToProof"><span style="letter-spacing: normal; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">Regards,</span></div>
<div class="elementToProof"><span style="letter-spacing: normal; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">Lakshmi</span></div>
</body>
</html>