Closed bav-br closed 1 year ago
is ffmpeg installed on the host?
Yes, it is.
Tested both in native state and with updates installed (without PPA related) and the result is the same.
I cannot reproduce the issue, you may test this by extracting the AppImage
./Handbrake-1.5.1-x86_64.AppImage --appimage-extract
then add the necessary files from another deb package (for example the one provided in the Debian Testing/Unstable repository or from another place, use the ar
command for the .deb file and then the tar
command to do this) in the right place (copy/paste the files in the extracted AppImage). To test if everything works, run the AppRun
script into the main folder of the extracted AppImage:
./AppRun
an let me know if you have success.
I tried to do the test but it didn't work; however, I created a recipe and managed to generate an appimage that worked for me, in case it helps you improve your version: https://archive.org/download/appimage-collection/Recipes/handbrake.yml
I also get the same on Debian:
./Handbrake-1.6.1-x86_64.AppImage
ghb: error while loading shared libraries: libavformat.so.59: cannot open shared object file: No such file or directory
The issue is that it has libavformat58
rather than libavformat59
:
dpkg -l libavformat*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=====================-==================-============-============================================================================
ii libavformat-dev:amd64 7:4.3.5-0.1+mx21+1 amd64 FFmpeg library with (de)muxers for multimedia containers - development files
ii libavformat58:amd64 7:4.3.5-0.1+mx21+1 amd64 FFmpeg library with (de)muxers for multimedia containers - runtime files
Can you rebuild with libavformat58
please?
I can't do much, I'm trying to re-build the AppImage using the recipe that @brunoalvieira provided in the previous comment (being "bionic" near to the EOL) but I'm stuck, pkg2appimage wont go on:
I tested the new appimage and now it gives the following error:
ghb: symbol lookup error: /tmp/.mount_Handbr6780bz/usr/lib/x86_64-linux-gnu/libavcodec.so.59: undefined symbol: vaSyncBuffer
@brunoalvieira I've used the recipe you provided in the past comment, how have you built the AppImage to made it work for you?
PS: this time I've also updated the script, you can safelly use it in any directory you want safelly, let me know if there is a problem with the AppRun, maybe the one provided by default with pkg2appimage is already OK?
wget https://raw.githubusercontent.com/ivan-hc/Handbrake-appimage/main/handbrake-builder
chmod a+x ./handbrake-builder
./handbrake-builder
I use the appimage version of pkg2appimage and I don't customize the apprun.
this is the error I get with the default AppRun
ghb: symbol lookup error: /lib/x86_64-linux-gnu/libpango-1.0.so.0: undefined symbol: g_memdup2
Strange
libpango is not in the folder and, in theory, it is not needed to run the app.
Here is the automatically generated AppRun by pkg2appimage that works for me:
Sorry, I cannot reproduce the errors you're affected (on Debian and Arch), using a custom AppRun is the only way I have to run the AppImages on my distros. The AppRun you provided is the same provided by pkg2appimage (from both my repository "AM" and the official one).
However, this seems to be a known bug of the library used in the AppImage, from the "SavOS" project, learn more here:
https://bugs.launchpad.net/savos/+bug/1991440
Maybe everything would work quite well if built from an official Debian-backport... but this would not be enoug to ensure the latest version of the app to those users that have old systems.
Sadly "SavOS" is the more updated source I've found (that's why I'm switching many apps to "distrobox" on my host).
I notice that the latest release now uses libavformat.so.60 rather than libavformat.so.58 - so this is now going in the wrong direction. Can anything be done?
I've just built a Handbrake version that uses libavformat.so.60 and libavcodec.so.60 by using Debian Oldstable as main distro, but with the deb-multimedia repository for Debian Unstable, so we have a FrankenDebian-based AppImage that runs well on my system... but I need to know if this works for you too. Just run the script I've attached here wherever you want.
this is the handbrake-builder with the following recipe:
app: handbrake
binpatch: true
ingredients:
dist: oldstable
sources:
- deb https://www.deb-multimedia.org sid main non-free
- deb http://deb.debian.org/debian/ oldstable main contrib non-free
packages:
- handbrake-gtk
- ffmpeg
script:
- cp -Rf ./usr/share/applications/fr.handbrake.ghb.desktop .
- cp -Rf ./usr/share/icons/hicolor/scalable/apps/fr.handbrake.ghb.svg .
it seems to be compatible with GLIBC 2.14 or higer (this mean it should work on Ubuntu 12.04 too), but I need confirmation.
I tested in my Ubuntu Mate 20.04.5 installation, but I had several errors and I restored with libraries from my recipe's appimage generation in the first three steps:
First:
ghb: error while loading shared libraries: libdvdread.so.8: cannot open shared object file: No such file or directory
Second:
ghb: error while loading shared libraries: libvpx.so.7: cannot open shared object file: No such file or directory
Third:
ghb: error while loading shared libraries: libSvtAv1Enc.so.1: cannot open shared object file: No such file or directory
And, finally:
ghb: /usr/lib/x86_64-linux-gnu/libjansson.so.4: no version information available (required by ghb) ghb: /usr/lib/x86_64-linux-gnu/libm.so.6: version
GLIBC_2.35' not found (required by ghb) ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.34' not found (required by ghb) ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.33' not found (required by ghb) ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.32' not found (required by /home/ubuntu-mate/Documentos/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libdav1d.so.6) ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.34' not found (required by /home/ubuntu-mate/Documentos/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libdav1d.so.6) ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.32' not found (required by /home/ubuntu-mate/Documentos/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libzimg.so.2) ghb: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: versionGLIBCXX_3.4.29' not found (required by /home/ubuntu-mate/Documentos/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libzimg.so.2) ghb: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
CXXABI_1.3.13' not found (required by /home/ubuntu-mate/Documentos/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libzimg.so.2) ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.33' not found (required by /home/ubuntu-mate/Documentos/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libx264.so.164) ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.34' not found (required by /home/ubuntu-mate/Documentos/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libx264.so.164) ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.32' not found (required by /home/ubuntu-mate/Documentos/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libvpl.so.2) ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.34' not found (required by /home/ubuntu-mate/Documentos/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libvpl.so.2) ghb: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/ubuntu-mate/Documentos/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libvpl.so.2)
but I need to know if this works for you too. Just run the script I've attached here wherever you want.
It rums for a while then throws an error, here is a truncated log:
$ ./handbrake-builder
...
libgmp.so.10'
+ echo ld-linux.so.2 ld-linux-x86-64.so.2 libanl.so.1 libBrokenLocale.so.1 libcidn.so.1 libc.so.6 libdl.so.2 libm.so.6 libmvec.so.1 libnss_compat.so.2 libnss_dns.so.2 libnss_files.so.2 libnss_hesiod.so.2 libnss_nisplus.so.2 libnss_nis.so.2 libpthread.so.0 libresolv.so.2 librt.so.1 libthread_db.so.1 libutil.so.1 libstdc++.so.6 libGL.so.1 libEGL.so.1 libGLdispatch.so.0 libGLX.so.0 libOpenGL.so.0 libdrm.so.2 libglapi.so.0 libgbm.so.1 libxcb.so.1 libX11.so.6 libasound.so.2 libfontconfig.so.1 libthai.so.0 libfreetype.so.6 libharfbuzz.so.0 libcom_err.so.2 libexpat.so.1 libgcc_s.so.1 libgpg-error.so.0 libICE.so.6 libp11-kit.so.0 libSM.so.6 libusb-1.0.so.0 libuuid.so.1 libz.so.1 libgpg-error.so.0 libjack.so.0 libxcb-dri3.so.0 libxcb-dri2.so.0 libfribidi.so.0 libgmp.so.10
ld-linux.so.2 ld-linux-x86-64.so.2 libanl.so.1 libBrokenLocale.so.1 libcidn.so.1 libc.so.6 libdl.so.2 libm.so.6 libmvec.so.1 libnss_compat.so.2 libnss_dns.so.2 libnss_files.so.2 libnss_hesiod.so.2 libnss_nisplus.so.2 libnss_nis.so.2 libpthread.so.0 libresolv.so.2 librt.so.1 libthread_db.so.1 libutil.so.1 libstdc++.so.6 libGL.so.1 libEGL.so.1 libGLdispatch.so.0 libGLX.so.0 libOpenGL.so.0 libdrm.so.2 libglapi.so.0 libgbm.so.1 libxcb.so.1 libX11.so.6 libasound.so.2 libfontconfig.so.1 libthai.so.0 libfreetype.so.6 libharfbuzz.so.0 libcom_err.so.2 libexpat.so.1 libgcc_s.so.1 libgpg-error.so.0 libICE.so.6 libp11-kit.so.0 libSM.so.6 libusb-1.0.so.0 libuuid.so.1 libz.so.1 libgpg-error.so.0 libjack.so.0 libxcb-dri3.so.0 libxcb-dri2.so.0 libfribidi.so.0 libgmp.so.10
++ readlink -f .
+ local DOT_DIR=/tmp/tmp/handbrake/handbrake.AppDir
+ local TARGET
+ for FILE in $BLACKLISTED_FILES
++ find . -name ld-linux.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name ld-linux-x86-64.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libanl.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libBrokenLocale.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libcidn.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libc.so.6 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libdl.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libm.so.6 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libmvec.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libnss_compat.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libnss_dns.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libnss_files.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libnss_hesiod.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libnss_nisplus.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libnss_nis.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libpthread.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libresolv.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name librt.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libthread_db.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libutil.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libstdc++.so.6 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libGL.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libEGL.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libGLdispatch.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libGLX.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libOpenGL.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libdrm.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libglapi.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libgbm.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libxcb.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libX11.so.6 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=./usr/lib/x86_64-linux-gnu/libX11.so.6
+ for FOUND in $FILES
++ readlink -f ./usr/lib/x86_64-linux-gnu/libX11.so.6
+ TARGET=/tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
+ [[ /tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 = /tmp/tmp/handbrake/handbrake.AppDir/* ]]
+ rm -vf /tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
removed '/tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0'
+ rm -vf ./usr/lib/x86_64-linux-gnu/libX11.so.6
removed './usr/lib/x86_64-linux-gnu/libX11.so.6'
+ for FILE in $BLACKLISTED_FILES
++ find . -name libasound.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libfontconfig.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libthai.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libfreetype.so.6 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=./usr/lib/x86_64-linux-gnu/libfreetype.so.6
+ for FOUND in $FILES
++ readlink -f ./usr/lib/x86_64-linux-gnu/libfreetype.so.6
+ TARGET=/tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libfreetype.so.6.16.1
+ [[ /tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libfreetype.so.6.16.1 = /tmp/tmp/handbrake/handbrake.AppDir/* ]]
+ rm -vf /tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libfreetype.so.6.16.1
removed '/tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libfreetype.so.6.16.1'
+ rm -vf ./usr/lib/x86_64-linux-gnu/libfreetype.so.6
removed './usr/lib/x86_64-linux-gnu/libfreetype.so.6'
+ for FILE in $BLACKLISTED_FILES
++ find . -name libharfbuzz.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=./usr/lib/x86_64-linux-gnu/libharfbuzz.so.0
+ for FOUND in $FILES
++ readlink -f ./usr/lib/x86_64-linux-gnu/libharfbuzz.so.0
+ TARGET=/tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.20301.0
+ [[ /tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.20301.0 = /tmp/tmp/handbrake/handbrake.AppDir/* ]]
+ rm -vf /tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.20301.0
removed '/tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.20301.0'
+ rm -vf ./usr/lib/x86_64-linux-gnu/libharfbuzz.so.0
removed './usr/lib/x86_64-linux-gnu/libharfbuzz.so.0'
+ for FILE in $BLACKLISTED_FILES
++ find . -name libcom_err.so.2 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=./lib/x86_64-linux-gnu/libcom_err.so.2
+ for FOUND in $FILES
++ readlink -f ./lib/x86_64-linux-gnu/libcom_err.so.2
+ TARGET=/tmp/tmp/handbrake/handbrake.AppDir/lib/x86_64-linux-gnu/libcom_err.so.2.1
+ [[ /tmp/tmp/handbrake/handbrake.AppDir/lib/x86_64-linux-gnu/libcom_err.so.2.1 = /tmp/tmp/handbrake/handbrake.AppDir/* ]]
+ rm -vf /tmp/tmp/handbrake/handbrake.AppDir/lib/x86_64-linux-gnu/libcom_err.so.2.1
removed '/tmp/tmp/handbrake/handbrake.AppDir/lib/x86_64-linux-gnu/libcom_err.so.2.1'
+ rm -vf ./lib/x86_64-linux-gnu/libcom_err.so.2
removed './lib/x86_64-linux-gnu/libcom_err.so.2'
+ for FILE in $BLACKLISTED_FILES
++ find . -name libexpat.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=./lib/x86_64-linux-gnu/libexpat.so.1
+ for FOUND in $FILES
++ readlink -f ./lib/x86_64-linux-gnu/libexpat.so.1
+ TARGET=/tmp/tmp/handbrake/handbrake.AppDir/lib/x86_64-linux-gnu/libexpat.so.1.6.8
+ [[ /tmp/tmp/handbrake/handbrake.AppDir/lib/x86_64-linux-gnu/libexpat.so.1.6.8 = /tmp/tmp/handbrake/handbrake.AppDir/* ]]
+ rm -vf /tmp/tmp/handbrake/handbrake.AppDir/lib/x86_64-linux-gnu/libexpat.so.1.6.8
removed '/tmp/tmp/handbrake/handbrake.AppDir/lib/x86_64-linux-gnu/libexpat.so.1.6.8'
+ rm -vf ./lib/x86_64-linux-gnu/libexpat.so.1
removed './lib/x86_64-linux-gnu/libexpat.so.1'
+ for FILE in $BLACKLISTED_FILES
++ find . -name libgcc_s.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libgpg-error.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libICE.so.6 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=./usr/lib/x86_64-linux-gnu/libICE.so.6
+ for FOUND in $FILES
++ readlink -f ./usr/lib/x86_64-linux-gnu/libICE.so.6
+ TARGET=/tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libICE.so.6.3.0
+ [[ /tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libICE.so.6.3.0 = /tmp/tmp/handbrake/handbrake.AppDir/* ]]
+ rm -vf /tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libICE.so.6.3.0
removed '/tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libICE.so.6.3.0'
+ rm -vf ./usr/lib/x86_64-linux-gnu/libICE.so.6
removed './usr/lib/x86_64-linux-gnu/libICE.so.6'
+ for FILE in $BLACKLISTED_FILES
++ find . -name libp11-kit.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=./usr/lib/x86_64-linux-gnu/libp11-kit.so.0
+ for FOUND in $FILES
++ readlink -f ./usr/lib/x86_64-linux-gnu/libp11-kit.so.0
+ TARGET=/tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libp11-kit.so.0.3.0
+ [[ /tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libp11-kit.so.0.3.0 = /tmp/tmp/handbrake/handbrake.AppDir/* ]]
+ rm -vf /tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libp11-kit.so.0.3.0
removed '/tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libp11-kit.so.0.3.0'
+ rm -vf ./usr/lib/x86_64-linux-gnu/libp11-kit.so.0
removed './usr/lib/x86_64-linux-gnu/libp11-kit.so.0'
+ for FILE in $BLACKLISTED_FILES
++ find . -name libSM.so.6 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=./usr/lib/x86_64-linux-gnu/libSM.so.6
+ for FOUND in $FILES
++ readlink -f ./usr/lib/x86_64-linux-gnu/libSM.so.6
+ TARGET=/tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libSM.so.6.0.1
+ [[ /tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libSM.so.6.0.1 = /tmp/tmp/handbrake/handbrake.AppDir/* ]]
+ rm -vf /tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libSM.so.6.0.1
removed '/tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libSM.so.6.0.1'
+ rm -vf ./usr/lib/x86_64-linux-gnu/libSM.so.6
removed './usr/lib/x86_64-linux-gnu/libSM.so.6'
+ for FILE in $BLACKLISTED_FILES
++ find . -name libusb-1.0.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libuuid.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=./lib/x86_64-linux-gnu/libuuid.so.1
+ for FOUND in $FILES
++ readlink -f ./lib/x86_64-linux-gnu/libuuid.so.1
+ TARGET=/tmp/tmp/handbrake/handbrake.AppDir/lib/x86_64-linux-gnu/libuuid.so.1.3.0
+ [[ /tmp/tmp/handbrake/handbrake.AppDir/lib/x86_64-linux-gnu/libuuid.so.1.3.0 = /tmp/tmp/handbrake/handbrake.AppDir/* ]]
+ rm -vf /tmp/tmp/handbrake/handbrake.AppDir/lib/x86_64-linux-gnu/libuuid.so.1.3.0
removed '/tmp/tmp/handbrake/handbrake.AppDir/lib/x86_64-linux-gnu/libuuid.so.1.3.0'
+ rm -vf ./lib/x86_64-linux-gnu/libuuid.so.1
removed './lib/x86_64-linux-gnu/libuuid.so.1'
+ for FILE in $BLACKLISTED_FILES
++ find . -name libz.so.1 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=./lib/x86_64-linux-gnu/libz.so.1
+ for FOUND in $FILES
++ readlink -f ./lib/x86_64-linux-gnu/libz.so.1
+ TARGET=/tmp/tmp/handbrake/handbrake.AppDir/lib/x86_64-linux-gnu/libz.so.1.2.11
+ [[ /tmp/tmp/handbrake/handbrake.AppDir/lib/x86_64-linux-gnu/libz.so.1.2.11 = /tmp/tmp/handbrake/handbrake.AppDir/* ]]
+ rm -vf /tmp/tmp/handbrake/handbrake.AppDir/lib/x86_64-linux-gnu/libz.so.1.2.11
removed '/tmp/tmp/handbrake/handbrake.AppDir/lib/x86_64-linux-gnu/libz.so.1.2.11'
+ rm -vf ./lib/x86_64-linux-gnu/libz.so.1
removed './lib/x86_64-linux-gnu/libz.so.1'
+ for FILE in $BLACKLISTED_FILES
++ find . -name libgpg-error.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libjack.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=./usr/lib/x86_64-linux-gnu/libjack.so.0
+ for FOUND in $FILES
++ readlink -f ./usr/lib/x86_64-linux-gnu/libjack.so.0
+ TARGET=/tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libjack.so.0.1.0
+ [[ /tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libjack.so.0.1.0 = /tmp/tmp/handbrake/handbrake.AppDir/* ]]
+ rm -vf /tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libjack.so.0.1.0
removed '/tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libjack.so.0.1.0'
+ rm -vf ./usr/lib/x86_64-linux-gnu/libjack.so.0
removed './usr/lib/x86_64-linux-gnu/libjack.so.0'
+ for FILE in $BLACKLISTED_FILES
++ find . -name libxcb-dri3.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libxcb-dri2.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=
+ for FILE in $BLACKLISTED_FILES
++ find . -name libfribidi.so.0 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=./usr/lib/x86_64-linux-gnu/libfribidi.so.0
+ for FOUND in $FILES
++ readlink -f ./usr/lib/x86_64-linux-gnu/libfribidi.so.0
+ TARGET=/tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libfribidi.so.0.4.0
+ [[ /tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libfribidi.so.0.4.0 = /tmp/tmp/handbrake/handbrake.AppDir/* ]]
+ rm -vf /tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libfribidi.so.0.4.0
removed '/tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libfribidi.so.0.4.0'
+ rm -vf ./usr/lib/x86_64-linux-gnu/libfribidi.so.0
removed './usr/lib/x86_64-linux-gnu/libfribidi.so.0'
+ for FILE in $BLACKLISTED_FILES
++ find . -name libgmp.so.10 -not -path './usr/optional/*'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ FILES=./usr/lib/x86_64-linux-gnu/libgmp.so.10
+ for FOUND in $FILES
++ readlink -f ./usr/lib/x86_64-linux-gnu/libgmp.so.10
+ TARGET=/tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
+ [[ /tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2 = /tmp/tmp/handbrake/handbrake.AppDir/* ]]
+ rm -vf /tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
removed '/tmp/tmp/handbrake/handbrake.AppDir/usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2'
+ rm -vf ./usr/lib/x86_64-linux-gnu/libgmp.so.10
removed './usr/lib/x86_64-linux-gnu/libgmp.so.10'
+ rm -rf usr/include
+ rm -rf usr/lib/cmake
+ rm -rf usr/lib/pkgconfig
+ find . -name '*.la'
+ xargs -i rm '{}'
find: /tmp/.mount_pkg2aplJInFI/usr/lib/x86_64-linux-gnu/libselinux.so.1: no version information available (required by find)
+ '[' no = yes ']'
+ sed -i -e 's|\.png||g' fr.handbrake.ghb.desktop
+ sed -i -e 's|\.svg||g' fr.handbrake.ghb.desktop
+ sed -i -e 's|\.svgz||g' fr.handbrake.ghb.desktop
+ sed -i -e 's|\.xpm||g' fr.handbrake.ghb.desktop
+ '[' '!' -z '' ']'
--2023-03-07 10:16:28-- https://github.com/project-portable/libunionpreload/releases/download/amd64/libunionpreload.so
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/242750502/1c61de00-571f-11ea-81ba-3c7c4affacb2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230307%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230307T061629Z&X-Amz-Expires=300&X-Amz-Signature=fd89e1e2b8ec702681f1e79a509ec9b9efc372592fe668af98fb43e75d8bd822&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=242750502&response-content-disposition=attachment%3B%20filename%3Dlibunionpreload.so&response-content-type=application%2Foctet-stream [following]
--2023-03-07 10:16:29-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/242750502/1c61de00-571f-11ea-81ba-3c7c4affacb2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230307%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230307T061629Z&X-Amz-Expires=300&X-Amz-Signature=fd89e1e2b8ec702681f1e79a509ec9b9efc372592fe668af98fb43e75d8bd822&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=242750502&response-content-disposition=attachment%3B%20filename%3Dlibunionpreload.so&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.108.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22600 (22K) [application/octet-stream]
Saving to: ‘libunionpreload.so’
libunionpreload.so 100%[==================================>] 22.07K --.-KB/s in 0.007s
2023-03-07 10:16:30 (3.10 MB/s) - ‘libunionpreload.so’ saved [22600/22600]
appimagetool, continuous build (commit b719a7f), build <local dev build> built on 2022-09-29 13:55:16 UTC
/tmp/tmp/handbrake/handbrake.AppDir/python2.7.desktop: error: value "././/share/pixmaps/python2.7.xpm" for key "Icon" in group "Desktop Entry" looks like a relative path, instead of being an absolute path to an icon or an icon name
ERROR: Desktop file contains errors. Please fix them. Please see
https://standards.freedesktop.org/desktop-entry-spec/1.0/n for more information.
mv: cannot stat './tmp/*.AppImage': No such file or directory
After 5 months no answer, no feedback... some commits were done... and Handbrake seems to work well now.
I close this issue, feel free to reopen this or another one in case of problems.
Please reopen, I still have issues with the latest downloaded AppImage file:
$ ./Handbrake-1.6.1-20230702-x86_64.AppImage
ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/.mount_Handbr254Jec/usr/lib/x86_64-linux-gnu/libvpl.so.2)
ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_Handbr254Jec/usr/lib/x86_64-linux-gnu/libvpl.so.2)
ghb: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_Handbr254Jec/usr/lib/x86_64-linux-gnu/libvpl.so.2)
ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_Handbr254Jec/usr/lib/x86_64-linux-gnu/libvapoursynth-script.so.0)
ghb: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /tmp/.mount_Handbr254Jec/usr/lib/x86_64-linux-gnu/libplacebo.so.264)
ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_Handbr254Jec/usr/lib/x86_64-linux-gnu/libplacebo.so.264)
ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_Handbr254Jec/usr/lib/x86_64-linux-gnu/libvmaf.so.1)
ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_Handbr254Jec/usr/lib/x86_64-linux-gnu/librav1e.so.0)
ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/.mount_Handbr254Jec/usr/lib/x86_64-linux-gnu/librav1e.so.0)
ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_Handbr254Jec/usr/lib/x86_64-linux-gnu/librav1e.so.0)
ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_Handbr254Jec/usr/lib/x86_64-linux-gnu/libSvtAv1Enc.so.1)
ghb: /usr/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/.mount_Handbr254Jec/usr/lib/x86_64-linux-gnu/libpython3.11.so.1.0)
ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_Handbr254Jec/usr/lib/x86_64-linux-gnu/libpython3.11.so.1.0)
ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/.mount_Handbr254Jec/usr/lib/x86_64-linux-gnu/libpython3.11.so.1.0)
ghb: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/.mount_Handbr254Jec/usr/lib/x86_64-linux-gnu/libpython3.11.so.1.0)
@JonnyTech the message says that GLIBC on your system is too old (see here the compatible systems https://repology.org/project/glibc/versions, GLIBC shoud use at least libc 2.35
to work). Sadly, to find the correct library version, some packages come from Debian Sid... I was forced to do that, being them not packaged yet in the PPA for "Ubuntu Focal").
However, I can still replace this version with an ArchImage to solve your issue... the package can be bigger, but it should work well, at least.
Wow, thank you very much!
@JonnyTech download this script to build the ArchImage for yourself:
mkdir tmp
cd tmp
wget https://raw.githubusercontent.com/ivan-hc/ArchImage/main/apps/handbrake-junest.sh
chmod a+x ./handbrake-junest.sh
./handbrake-junest.sh
And finally run the AppImage
./*AppImage
NOTE: only works in english, the "play" button of the video preview does not work... the AppImage is about 190 MB
If you can fix these issues, I'll consider to upload your improvements, maybe through a PR on this repo.
Cheers
retry more times, maybe there is a connection error, this is the way it works:
https://github.com/ivan-hc/Handbrake-appimage/assets/88724353/704d5323-0ca0-4256-8192-cd13793a1ed2
It seems that the script does not process correctly from my country, this is a snippet from the generated mirrorlist file:
Customized by country mirrorlist
The following form can generate a custom up-to-date [pacman](https://wiki.archlinux.org/title/Pacman) mirrorlist based on geography and desired protocol(s). Simply replace the contents of /etc/pacman.d/mirrorlist with your generated list. Additionally, the mirror status data can be incorporated into the generated mirror list and used to only list up to date mirrors.
Select a valid choice. AE is not one of the available choices.
Country:
"AR"
"AU"
"AT"
"AZ"
"BD"
"BY"
"BE"
"BA"
"BR"
"BG"
"KH"
"CA"
"CL"
"CN"
"CO"
"HR"
"CZ"
"DK"
"EC"
"EE"
"FI"
"FR"
"GE"
"DE"
"GR"
"HK"
"HU"
"IS"
"IN"
"ID"
"IR"
"IE"
"IL"
"IT"
"JP"
"KZ"
"KE"
"LV"
"LT"
"LU"
"MU"
"MX"
"MD"
"MC"
"NL"
"NC"
"NZ"
"MK"
"NO"
"PY"
"PL"
"PT"
"RO"
"RU"
"RE"
"RS"
"SG"
"SK"
"SI"
"ZA"
"KR"
"ES"
"SE"
"CH"
"TW"
"TH"
"TR"
"UA"
"GB"
"US"
"UZ"
"VN"
Tested in Ubuntu Mate 20.04.5 and Zorin Core 16.2