[FFmpeg-user] ffmpeg built static, yet "libopenjp2.so.7: cannot open shared object file"

tlum ffmpeg-archive.org at tedlum.com
Sat Aug 12 02:27:16 EEST 2017


I'm having trouble adding OpenJPEG to my ffmpeg build. I'm doing a static
build, still I'm getting:



This is on my build machine which has built a working ffmpeg a few times in
the past. I'm a CentOS shop and try to make it a point not to build/install
shared libraries that are not is the distro's repository, so, I'm always
doing a static build of ffmpeg and the dependencies I'm enabling.

The snapshot I'm using is: N-86964-gf357104
OpenJPEG is: 2.2.0

OpenJPEG is built with:



It seems to build both lib types:



It also appears to install both targets:




...and it has in fact installed both libraries:




ffmpeg is being configured like so:



configure confirms:




But the resulting binaries throw the shared library error. Without
--enable-libopenjpeg it works fine... aside from the fact that #6375 broke
it with just about every file I have.




--
View this message in context: http://www.ffmpeg-archive.org/ffmpeg-built-static-yet-libopenjp2-so-7-cannot-open-shared-object-file-tp4680895.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list