Since I upgraded to CentOS8, I cannot get HandBrakeCLI to work:
# HandBrakeCLI
HandBrakeCLI: error while loading shared libraries: libass.so.5: cannot
open shared object file: No such file or directory
Googling this, it appears the error message is related to ffmpeg, but I
don't get any error message with it:
# ffmpeg
ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers
? built with gcc 8 (GCC)
? configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg
--incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man
--arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
--extra-ldflags='-Wl,-z,relro -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags=' '
--enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libvo-amrwbenc --enable-version3 --enable-bzlib
--disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt
--enable-gnutls --enable-ladspa --enable-libaom --enable-libdav1d
--enable-libass --enable-libbluray --enable-libcdio --enable-libdrm
--enable-libjack --enable-libfreetype --enable-libfribidi
--enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal
--enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus
--enable-libpulse --enable-librsvg --enable-libsrt --enable-libsoxr
--enable-libspeex --enable-libssh --enable-libtheora --enable-libvorbis
--enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-version3
--enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid
--enable-libzimg --enable-libzvbi --enable-avfilter --enable-avresample
--enable-libmodplug --enable-postproc --enable-pthreads --disable-static
--enable-shared --enable-gpl --disable-debug --disable-stripping
--shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
? libavutil????? 56. 31.100 / 56. 31.100
? libavcodec???? 58. 54.100 / 58. 54.100
? libavformat??? 58. 29.100 / 58. 29.100
? libavdevice??? 58.? 8.100 / 58.? 8.100
? libavfilter???? 7. 57.100 /? 7. 57.100
? libavresample?? 4.? 0.? 0 /? 4.? 0.? 0
? libswscale????? 5.? 5.100 /? 5.? 5.100
? libswresample?? 3.? 5.100 /? 3.? 5.100
? libpostproc??? 55.? 5.100 / 55.? 5.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile
options] outfile}...
Use -h to get full help or, even better, run 'man ffmpeg'
...it is correct that I don't have a .5:
# ls /usr/lib64/libass*
/usr/lib64/libass.so? /usr/lib64/libass.so.9 /usr/lib64/libass.so.9.0.2?
/usr/lib64/libassuan.so.0 /usr/lib64/libassuan.so.0.8.1
Ideas?
On 7/13/20 4:04 AM, Frank M. Ramaekers Jr. wrote:> Since I upgraded to CentOS8, I cannot get HandBrakeCLI to work: > > # HandBrakeCLI > HandBrakeCLI: error while loading shared libraries: libass.so.5: cannot open shared object file: No such file or directory > > Googling this, it appears the error message is related to ffmpeg, but I don't get any error message with it: > > # ffmpeg > ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers > ? built with gcc 8 (GCC) > ? configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags=' ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libdav1d --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-libjack > --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsrt --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-version3 --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg --enable-libzvbi --enable-avfilter --enable-avresample --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect > ? libavutil????? 56. 31.100 / 56. 31.100 > ? libavcodec???? 58. 54.100 / 58. 54.100 > ? libavformat??? 58. 29.100 / 58. 29.100 > ? libavdevice??? 58.? 8.100 / 58.? 8.100 > ? libavfilter???? 7. 57.100 /? 7. 57.100 > ? libavresample?? 4.? 0.? 0 /? 4.? 0.? 0 > ? libswscale????? 5.? 5.100 /? 5.? 5.100 > ? libswresample?? 3.? 5.100 /? 3.? 5.100 > ? libpostproc??? 55.? 5.100 / 55.? 5.100 > Hyper fast Audio and Video encoder > usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}... > > Use -h to get full help or, even better, run 'man ffmpeg' > > ...it is correct that I don't have a .5: > > > # ls /usr/lib64/libass* > /usr/lib64/libass.so? /usr/lib64/libass.so.9 /usr/lib64/libass.so.9.0.2? /usr/lib64/libassuan.so.0 /usr/lib64/libassuan.so.0.8.1 > > Ideas? > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centosSo libass.so.9 is installed, but the program needs libass.so.5 - this leads to the error you see. Consider running ldd `which HandBrakeCLI` | grep -i found which might show you which other libraries are missing. If it's only libass.so.5, potentially a symlink ln -s libass.so.9 libass.so.5 in /usr/lib64 would do the trick, but the difference in version numbers appears large. Maybe it matters, maybe not. I'd also try to update HandBrakeCLI ; a later version might make use of libass.so.9 . HTH, Kay
On 2020-07-13 05:09, Kay Diederichs wrote:> On 7/13/20 4:04 AM, Frank M. Ramaekers Jr. wrote: >> Since I upgraded to CentOS8, I cannot get HandBrakeCLI to work:I could not get HandBrake to work under CentOS 8, so I installed it under Zorin 15 (an Ubuntu-derived German distro). There, it works great. I did not try any of the other distros derived from Debian or Ubuntu itself. Todd Merriman Software Tooolz, Inc.
On 7/12/20 10:04 PM, Frank M. Ramaekers Jr. wrote:> Since I upgraded to CentOS8, I cannot get HandBrakeCLI to work: > > # HandBrakeCLI > HandBrakeCLI: error while loading shared libraries: libass.so.5: cannot open shared object file: No such file or directoryHandBrakeCLI (and ghb - the GUI) at least starts without error on CentOS 8 as installed from rpmfusion.? I haven't actually used it. I suggest you look at 'rpm -qi $(which HandBrakeCLI)' to show you where you got your handbrake from and possibly update it from there.? Perhaps you disabled some repos?