Openshot-qt: appimage will not start

Created on 8 Apr 2018  路  6Comments  路  Source: OpenShot/openshot-qt

System Details:

  • Operating System / Distro: Arch
  • OpenShot Version: Daily
  • _Please attach log files if crash_

Issue Description and steps to reproduce:
the appimage will not start, it immediately crashes with:

QLibraryPrivate::loadPlugin failed on "/tmp/.mount_nUUapf/usr/bin/platforms/libqxcb.so" : "Cannot load library /tmp/.mount_nUUapf/usr/bin/platforms/libqxcb.so: (/usr/lib/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var)"
This application failed to start because it could not find or load the Qt platform plugin "xcb".

Most helpful comment

This is how I got Openshot to work on Arch where we're having libfontconfig issues. The current workaround for the issue is to remove libfontconfig.so.1 from the openshot appimage. The basic steps are:
1) extract openshot appimage to a folder
2) delete libfontcongif from /usr/bin
3) recreate appiamge with appimagetool

To do this you will need appimagetool which can be downloaded here (https://github.com/AppImage/AppImageKit/releases)

1) extract appimage:
Openshot is a type 1 appimage, meaning it can't be extract by adding --appimage-extract to the command line which only works for more recent type 2 builds. So I had to mount the build using
sudo mount -o loop .AppImage /mnt.
I then created a folder with the same name as the Openshot images I downloaded minus appimage and added .AppDir so I ended up with something like .AppDir.
Next copy everything from the mounted image to the new folder.
2) delete libfontcongif:
cd to .AppDir/usr/bin and remove libfontconfig.so.1.
3) recreate appiamge:
Last rebuld the appimage with appimagetool-x86_64.AppImage .AppDir

The new appimage should now work.

Finally umount the loop

All 6 comments

I removed libfont from the package and now it works

@jigalvez - Just for the sake of posterity, how did you remove libfont from the package? Just in case someone else needs to take a look at this. Or do you mean you did $ sudo apt remove libfont? Sorry for being such a tube-light.

This is how I got Openshot to work on Arch where we're having libfontconfig issues. The current workaround for the issue is to remove libfontconfig.so.1 from the openshot appimage. The basic steps are:
1) extract openshot appimage to a folder
2) delete libfontcongif from /usr/bin
3) recreate appiamge with appimagetool

To do this you will need appimagetool which can be downloaded here (https://github.com/AppImage/AppImageKit/releases)

1) extract appimage:
Openshot is a type 1 appimage, meaning it can't be extract by adding --appimage-extract to the command line which only works for more recent type 2 builds. So I had to mount the build using
sudo mount -o loop .AppImage /mnt.
I then created a folder with the same name as the Openshot images I downloaded minus appimage and added .AppDir so I ended up with something like .AppDir.
Next copy everything from the mounted image to the new folder.
2) delete libfontcongif:
cd to .AppDir/usr/bin and remove libfontconfig.so.1.
3) recreate appiamge:
Last rebuld the appimage with appimagetool-x86_64.AppImage .AppDir

The new appimage should now work.

Finally umount the loop

Awesome, good sir! I will point others to this direction. Thanks!

@jjgalvez - Jonathan put in a fix for this. Now the AppImage starts for me.

In latest OpenShot dev version after unmount>rename>copy i not have libfontcongif in /usr/bin and i have same issue:
https://pastebin.com/4VGsZZXR

I use Arch linux

I can start App image by run:
.....OpenShot-v2.4.1-x86_64.Appdir/AppRun

in OpenShot Video Editor i have to leave only _openshot-qt_ in command parameters

Was this page helpful?
0 / 5 - 0 ratings