Running app error when executed with /lib/ld-musl-x86_64.so.1.
#7551
|
Heyo, I have a little problem with running compiled a compiled PyInstaller file inside AppImage, built on Alpine Linux. [22992] Cannot open PyInstaller archive from executable (/tmp/.mount_ticloctzbPnm/lib/ld-musl-x86_64.so.1) or external archive (/tmp/.mount_ticloctzbPnm/lib/ld-musl-x86_64.so.1.pkg)Is there any way to tell PyInstaller to look for a second argument ( The #!/bin/sh
TICLOCK_RUNPATH="$(dirname "$(readlink -f "${0}")")"
TICLOCK_EXEC="${TICLOCK_RUNPATH}"/usr/bin/ticlock
export LD_LIBRARY_PATH="${TICLOCK_RUNPATH}"/lib:"${TICLOCK_RUNPATH}"/lib64:$LD_LIBRARY_PATH
export LIBRARY_PATH="${TICLOCK_RUNPATH}"/lib:"${TICLOCK_RUNPATH}"/lib64:"${TICLOCK_RUNPATH}"/usr/lib:"${TICLOCK_RUNPATH}"/usr/lib64:$LIBRARY_PATH
export PATH="${TICLOCK_RUNPATH}/usr/bin/:${TICLOCK_RUNPATH}/usr/sbin/:${TICLOCK_RUNPATH}/usr/games/:${TICLOCK_RUNPATH}/bin/:${TICLOCK_RUNPATH}/sbin/${PATH:+:$PATH}"
exec "${TICLOCK_RUNPATH}"/lib/ld-musl-x86_64.so.1 "${TICLOCK_EXEC}" "$@"where |
Replies: 3 comments 2 replies
That's not really what is happening - the pyinstaller/bootloader/src/pyi_path.c Lines 297 to 303 in 6fc2cc0 So if you want to run the executable via The |
|
So at the moment I need to recompile PyInstaller? |
|
This should be fixed in next release (#7556); the bootloader will try to detect if |
This should be fixed in next release (#7556); the bootloader will try to detect if
/proc/self/exepoints told.so, and fall back to manual executable path resolution.