<div dir="ltr">I have tried again but on a different platform and it links correctly...  Laptop / Ubuntu 22.04 / x86_64<div><br></div><div>Still investigating. Ultimately I still need this to work on the Jetson NX</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 2 Jun 2022 at 18:10, Joe Bacon <<a href="mailto:joejbacon@gmail.com">joejbacon@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hi</div><div><br></div>libpython3.10.so.1.0 exists and is in /opt/python/3.10/lib as expected - it is exactly where I specified it to be built when I built python. And i am able to spawn new VMs from this version of python. <br><div>I have tried adding this path to all my search paths.</div><div>I use meson to build gst-python and i have also tried configuring it to explicitly use that path i.e. -D libpython-dir=/opt/python/3.10/lib  (see meson_options.txt)</div><div>I have also tried adding my env. variables 'exports' to bashrc and then profile. no difference. <br></div><div>If I run python from my environment I can query the lib path and it correctly points to /opt/python/3.10/lib</div><div>I've gone through the meson build files and ninja build files.</div><div>I can't find anything wrong. It feels so close to working!</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 2 Jun 2022 at 16:58, carl hansen <<a href="mailto:carlhansen1234@gmail.com" target="_blank">carlhansen1234@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Jun 2, 2022 at 3:45 AM Joe Bacon via gstreamer-devel<br>
<<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br>
><br>
> Hi<br>
> Please could someone help me... I believe this is a simple problem of a missing path environment variable but i'm at a loss...<br>
<br>
I know the feeling.<br>
<br>
> My environment variables seem correct from everything I've read.<br>
<br>
Don't believe everything you read.<br>
<br>
<br>
> Environment variables:<br>
> export PATH=/opt/python/3.10/bin:/opt/opencv/bin:/opt/srt/bin:/opt/gstreamer/1.18/bin:$PATH<br>
> export LD_LIBRARY_PATH=/opt/opencv/lib:/opt/srt/lib:/opt/gstreamer/1.18/lib/aarch64-linux-gnu:/opt/python/3.10/lib<br>
> export LIBRARY_PATH=/opt/opencv/lib:/opt/srt/lib:/opt/gstreamer/1.18/lib/aarch64-linux-gnu:/opt/python/3.10/lib<br>
> export CPPFLAGS='-I/opt/opencv/include -I/opt/srt/include -I/opt/gstreamer/1.18/include -I/home/sg/dev/environments/sg/include -I/opt/python/3.10/include'<br>
> export PKG_CONFIG_PATH=/opt/opencv/lib/pkgconfig:/opt/srt/lib/pkgconfig:/opt/gstreamer/1.18/lib/aarch64-linux-gnu/pkgconfig:/opt/python/3.10/lib/pkgconfig<br>
> export PYTHONPATH=~/dev/environments/sg/lib/python3.10/site-packages<br>
> export GI_TYPELIB_PATH=/opt/gstreamer/1.18/lib/aarch64-linux-gnu/girepository-1.0<br>
> export GST_PLUGIN_PATH=/opt/gstreamer/1.18/lib/aarch64-linux-gnu/gstreamer-1.0<br>
><br>
><br>
<br>
......<br>
<br>
> ninja: Entering directory `build/'<br>
> [4/5] Installing files.<br>
> /home/sg/dev/environments/sg/bin/python3: error while loading shared libraries: libpython3.10.so.1.0: cannot open shared object file: No such file or directory<br>
> FAILED: meson-install<br>
<br>
First find libpython3.10.so.1.0 on your system. Mine was in /usr/lib64/<br>
Try adding more to those LiBRARY envs  and/or look in the venv sq ,<br>
just a suggestion... Who knows?<br>
</blockquote></div></div>
</blockquote></div>