-
Notifications
You must be signed in to change notification settings - Fork 50
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
Pylonsrc for arm64 ubuntu 18.04 with pylon version 6 or version 5 displays libpylonc-6.2.0.so: cannot open shared object file: No such file or director #58
Comments
I encountered the same issue when loading the installed (make install) pylonsrc. I am now using pylonsrc with pylon version 6 with similar modifications as you ILENIMARIUS and I am able to use the pylonsrc by loading the pylonsrc from my build directory by setting |
Hello Thor, Additional I haven't found a system env variable called "GST_PLUGIN_PATH" . Could you be more specific for instance, are you using from gst-plugins-vision -> libgstpylon (as plugin) with pylon6? Could you be more specific with the steps and versions? |
I am using the GStreamer GST_PLUGIN_PATH env variable to load the libgstpylon plugin from the build directory, see more information here https://developer.gnome.org/gstreamer/stable/gst-running.html This is just a work around. Of course we would want the installed plugin to work which is installed with the |
@ILENIMARIUS, in order to make |
I can confirm that adding |
Hello,
When compiling and running pylonsrc with arm64 ubuntu 18.04 on both pylon version 6 or pylon version 5 I got:
Error -> Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstpylon.so': libpylonc-6.2.0.so: cannot open shared object file: No such file or directory
Please see below the steps used:
_Pylon + gst-plugins-vision build/compilation steps:
install latest Pylon6 version:
Download
install on linux arm64:
download and build the new gst-plugins-vision:
git clone https://github.com/joshdoe/gst-plugins-vision.git
adapt the modules .make to match the latest pylon version of folder naming:
cd ~/Downloads/gst-plugins-vision-1.17.1/cmake/modules
sudo nano FindPylon.cmake
else ()
set (_PYLON_DIR "/opt/pylon5") -> modify this to "/opt/pylon"
endif ()
&
find_library (_PylonCLib NAMES PylonC_MD_VC120 pylonc
PATHS
"${PYLON_DIR}/Development/lib/x64"
"${PYLON_DIR}/lib64") modify this to -> "/lib"
modify the sistem location where gst-pylon-plugin should be installed:
else ()
set(_PREFIX "/usr/lib") modify to -> "/usr/lib/aarch64-linux-gnu"
endif ()
build gst-plugins-vision
cd gst-plugins-vision
mkdir build
cd build
cmake ..
make
sudo make install
Result:
(gst-inspect-1.0:27087): GStreamer-WARNING **: 17:51:15.211: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstpylon.so': libpylonc-6.2.0.so: cannot open shared object file: No such file or directory
Could not load plugin file: Opening module failed: libpylonc-6.2.0.so: cannot open shared object file: No such file or directory
pes@pes-desktop:~/Downloads/gst-plugins-vision-1.17.1/build$
This plugin displays the same error for Pylon5 also._
The text was updated successfully, but these errors were encountered: