Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I installed an rpm package for x265 using fpm and when I run the command x265 --version I get this error:
- error while loading shared libraries: libx265.so.162: cannot open shared object file: No such file or directory
- That command was working when I tested the executable binary before converting the source files into an rpm package.
- # RPM Installed files
- The file the error is refering to exists as seen below from the output of using the find command:
- /local/lib/pkgconfig/x265.pc
- ./local/lib/libx265.a
- ./local/lib/libx265.so
- ./local/lib/libx265.so.162
- ./local/include/x265_config.h
- ./local/include/x265.h
- ./local/bin/x265
- ./lib64/libx265_main12.so.151
- ./lib64/libx265_main10.so.151
- ./lib64/libx265.so.151
- ./share/licenses/x265-libs
- # Additional comments
- It may be useful to consider the last line from running the command make install DESTDIR=/tmp/installdir as I think it could be the problem:
- ...
- Install the project...
- -- Install configuration: "Release"
- -- Installing: /tmp/installdir/usr/local/lib/libx265.a
- -- Installing: /tmp/installdir/usr/local/include/x265.h
- -- Installing: /tmp/installdir/usr/local/include/x265_config.h
- -- Installing: /tmp/installdir/usr/local/lib/libx265.so.162
- -- Installing: /tmp/installdir/usr/local/lib/libx265.so
- -- Installing: /tmp/installdir/usr/local/lib/pkgconfig/x265.pc
- -- Installing: /tmp/installdir/usr/local/bin/x265
- -- Set runtime path of "/tmp/installdir/usr/local/bin/x265" to ""
- I'm not sure what this means but setting the runtime path to an empty string doesn't seem like a good idea. Would it be necessary to somehow define the runtime path in the cmake command as a possible solution?
Advertisement
Add Comment
Please, Sign In to add comment