arch2appimage icon indicating copy to clipboard operation
arch2appimage copied to clipboard

grapejuice

Open henrydenhengst opened this issue 2 years ago • 1 comments

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.

henrydenhengst avatar Sep 13 '22 16:09 henrydenhengst

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

hanzala123 avatar Sep 13 '22 16:09 hanzala123