Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gst-plugins-bad
gst-plugins-bad
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 994
    • Issues 994
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 193
    • Merge Requests 193
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GStreamer
  • gst-plugins-badgst-plugins-bad
  • Issues
  • #645

Closed
Open
Opened Jan 03, 2018 by Bugzilla Migration User@bugzilla-migration

nvdec: Fail to load plugin - missing cudart library in runtime

Submitted by Snir Sheriber @snir

Link to original bug (#792171)

Description

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
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gstreamer/gst-plugins-bad#645