libnppig.so.8.0 Missing FFmpeg

5,497

I solved it by myself:

EXPORT LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64

I really appreciate your misspelling fixes, but I needed help, not an English course.

Share:
5,497

Related videos on Youtube

SudoSu
Author by

SudoSu

Updated on September 18, 2022

Comments

  • SudoSu
    SudoSu over 1 year

    I've bought GeForce GTX 1050TI for testing FFmpeg with Nvidia encoder. Installed the requirements using CUDA Utils run file with these parameters:  (I'm using Debian; I can't change to supported distro for a while.)

    export PERL5LIB=.
    ./cuda-toolkit.run -override
    

    The installation was successful.

    I've built FFmpeg with this configuration:

    ./configure --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp \
        --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64
    

    make && make install also successful.

    I tried to run ffmpeg and the output of that:

    ffmpeg: error while loading shared libraries: libnppig.so.8.0: cannot open shared object file: No such file or directory
    

    libnppig.so.8.0 exists in /usr/local/cuda/lib64.

    I tried this to include CUDA libraries, based on this Linux Server Guide, but it's still not working.

    Is there any solution for that, without changing distro?

    • Admin
      Admin over 6 years
      @Antz: Thanks for catching (and correcting) spelling errors, but (1) please stop putting random formatting all over the place, and (2) please try to find and fix all the problems in any post you edit.
    • Admin
      Admin over 6 years
      @ SudoSu: If that ./configure command is all one command (as I assume it must be), please append a backslash to the end of the first line (i.e., all lines except the last) and, ideally, indent the second line (i.e., all lines except the first) a few spaces.
    • Admin
      Admin over 6 years
      It's a signle line just copied it wrong. I'm sorry for mistakes, but I'm not a native speaker.
    • Admin
      Admin over 6 years
      It's no big deal — but this is an issue of presenting code clearly, and doesn't really have anything to do with English.