After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 792171 - nvdec: Fail to load plugin - missing cudart library in runtime
nvdec: Fail to load plugin - missing cudart library in runtime
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-01-03 15:46 UTC by Snir
Modified: 2018-11-03 14:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (3.12 KB, patch)
2018-01-03 15:48 UTC, Snir
none Details | Review

Description Snir 2018-01-03 15:46:48 UTC
When compiling nvdec, linking is done against the libs (libcuda, libcudart) that are provided by cuda-tools (path is set by the --with-cuda-prefix or pkg-config).

In runtime, required libraries are searched in the runtime-library-path. 
libcudart is installed only by cuda-tools in a path does not exist by default in runtime-library-paths, so libcudart cannot be found and nvdec fails to load.

Adding cuda-tools libraries directory to runtime-library-path overcomes this issue.
There are no issues with libcuda since the library is also installed by the driver installer in the default library path location.


Steps to reproduce
1. Have a supported Nvidia card and install driver & cuda tools 8.0
2. Build nvdec with --with-cuda-prefix to installed location (or set PKG_CONFIG_PATH)
3. Try to use nvdec
Comment 1 Snir 2018-01-03 15:48:00 UTC
Created attachment 366247 [details] [review]
proposed patch
Comment 2 GStreamer system administrator 2018-11-03 14:17:06 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/645.