Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install issue: Dynamic linking to pylon not working on Debian based system #93

Open
frederiksemmel opened this issue Mar 19, 2024 · 1 comment

Comments

@frederiksemmel
Copy link

Describe the bug
I followed the install instructions for pylon 7.4 and for the gst-plugin-pylon, but the gstreamer plugin failed to find the pylon libs:

gst-inspect-1.0 pylonsrc

(gst-plugin-scanner:6381): GStreamer-WARNING **: 11:07:44.922: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstpylon.so': libGCBase_gcc_v3_1_Basler_pylon.so: cannot open shared object file: No such file or directory
No such element or plugin 'pylonsrc

I tried both the deb package and the tar package for pylon 7.4, same issue with both.

The fix was to set export LD_LIBRARY_PATH=/opt/pylon/lib:$LD_LIBRARY_PATH before building gst-plugin-pylon

I think a hint to the issue could be this part of the output of meson setup builddir --prefix /usr/:

Run-time dependency pylon (modules: pylon::pylon) found: YES 7.4.0
WARNING: Please do not define rpath with a linker argument, use install_rpath
or build_rpath properties instead.
This will become a hard error in a future Meson release.

To Reproduce
Install pylon 7.4 and gst-plugin-pylon following the installation guides.

Expected behavior
Installation should work, or, if it was my error, the missing step should be better highlighted.

Environment

  • Camera: doesn't matter
  • Platform: x86
  • OS: Linux pop-os 6.6.10-76060610-generic
@thiesmoeller
Copy link
Collaborator

... We see same issue on aarch64 Ubuntu 22 now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants