hanzala123 / arch2appimage

This is a python script that downloads Arch Linux packages (Official/Chaotic AUR) and converts to an AppImage executable
GNU General Public License v3.0
339 stars 11 forks source link

grapejuice #15

Open henrydenhengst opened 1 year ago

henrydenhengst commented 1 year ago

When building I get an error .....

appimagetool, continuous build (commit 4bcfe23), build <local dev build> built on 2022-08-17 01:03:50 UTC
More than one architectures were found of the AppDir source directory "AppDir"
A valid architecture with the ARCH environmental variable should be provided
e.g. ARCH=x86_64 appimagetool ...

So I edit the AppRun file from

export LD_LIBRARY_PATH="${HERE}/usr/lib/:${HERE}/usr/lib/i386-linux-gnu/:${HERE}/usr/lib/x86_64-linux-gnu/:${HERE}/usr/lib32/:${HERE}/usr/lib64/:${HERE}/lib/:${HERE}/lib/i386-linux-gnu/:${HERE}/lib/x86_64-linux-gnu/:${HERE}/lib32/:${HERE}/lib64/${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"

to

export LD_LIBRARY_PATH="${HERE}/usr/lib/x86_64-linux-gnu/:${HERE}/lib/x86_64-linux-gnu/${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"

and I still got the same error.

hanzala123 commented 1 year ago

You will have to run the appimage tool manually here with the system architecture as a prefix as show in the error. So the command should be something like

ARCH=x86_64 ./resources/appimagetool -n AppDir/ out/grapejuice-x86_64.AppImage