Opened 5 years ago

Closed 4 years ago

#6576 closed defect (invalid)

Cannot load library

Reported by: Oleg Burlacu Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Summary of the bug:
Cannot load library, using nvidia drivers 381.22 or newer.
How to reproduce:
CentOS 7. Install nvidia drivers, cuda library. After, compile ffmpeg-3.3.2 with --enable-nonfree --enable-nvenc --enable-gpl --enable-postproc --enable-version3 --enable-avfilter --disable-decoder=amrnb --disable-encoder=libschroedinger --enable-librtmp --enable-ffplay --disable-ffserver --enable-pthreads --enable-filters --enable-runtime-cpudetect --enable-libfdk-aac --enable-cuda --enable-libnpp

% ffmpeg -y -v verbose -hwaccel_device 0 -hwaccel cuvid -i "udp://" -ignore_unknown -map 0:0 -c:v:0 h264_nvenc -r 25 -profile:v:0 main -level:v:0 4.0 -preset:v:0 slow -b:v:0 5M -maxrate:v:0 8M -bufsize:v:0 8M -bf:v:0 1 -refs:v:0 2 -map 0:1 -c:a libfdk_aac -ar 48000 -ab 128k -f mpegts  "udp://"
ffmpeg version 3.3.2

ffmpeg give an exception: Cannot load
Lib is present in /usr/lib64, with a symlink to (driver library).
ldconfig show this libary as loaded. (libc6,x86-64) => /lib64/


lrwxrwxrwx.   1 root root     9 Mar 11 16:49 lib64 -> usr/lib64

By using drivers from 375.xx branch - all is ok.

Change History (3)

comment:1 by Oleg Burlacu, 5 years ago

Version: unspecifiedgit-master

comment:2 by Timo R., 5 years ago

This is purely an issue with your system and/or driver installation.
All ffmpeg does is dlopen that library, which is what's failing here.

comment:3 by Carl Eugen Hoyos, 4 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.