[GH-ISSUE #11] files missing #6

Open
opened 2026-10-30 22:07:14 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @flugalgourmet on GitHub (May 16, 2017).
Original GitHub issue: https://github.com/lutris/ffmpeg-nvenc/issues/11

On a new kubuntu 16.04 kvm gpu passthrough install, I ran into a couple problems. First, I had to install git to use the script. Please add that to the list of programs to install via apt. After everything compiled, I could not use nvenc as ffmpeg gave me the following error:
error while loading shared libraries: libavdevice.so.57: cannot open shared object file: No such file or directory
I had libavdevice-ffmpeg56 installed, but I suppose it wants libavdevice-ffmpeg57.

Originally created by @flugalgourmet on GitHub (May 16, 2017). Original GitHub issue: https://github.com/lutris/ffmpeg-nvenc/issues/11 On a new kubuntu 16.04 kvm gpu passthrough install, I ran into a couple problems. First, I had to install git to use the script. Please add that to the list of programs to install via apt. After everything compiled, I could not use nvenc as ffmpeg gave me the following error: ```error while loading shared libraries: libavdevice.so.57: cannot open shared object file: No such file or directory``` I had libavdevice-ffmpeg56 installed, but I suppose it wants libavdevice-ffmpeg57.
Author
Owner

@SimonSword commented on GitHub (Aug 18, 2017):

In case this is still relevant or somebody else has encountered this problem:
Have a look at the file 'scripts/ffmpeg.sh' in the install folder. There, the library path of the ffmpeg-nvenc installation is added to the LD_LIBRARY_PATH:

export LD_LIBRARY_PATH="/yourPath/ffmpeg-nvenc/lib":$LD_LIBRARY_PATH

You can, for example, add this line to your '.bashrc' and re-source it after editing using . ~/.bashrc. After that, it should work.

<!-- gh-comment-id:323294684 --> @SimonSword commented on GitHub (Aug 18, 2017): In case this is still relevant or somebody else has encountered this problem: Have a look at the file 'scripts/ffmpeg.sh' in the install folder. There, the library path of the ffmpeg-nvenc installation is added to the `LD_LIBRARY_PATH`: `export LD_LIBRARY_PATH="/yourPath/ffmpeg-nvenc/lib":$LD_LIBRARY_PATH` You can, for example, add this line to your '.bashrc' and re-source it after editing using `. ~/.bashrc`. After that, it should work.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lutris/ffmpeg-nvenc#6
No description provided.