Linking essential libraries from AppImage. #1261
-
Heyo, I have a problem with linking libraries to the application, which is using Even after including variables like What variables should I additionally include in Here's how my #!/bin/sh
TICLOCK_RUNPATH="$(dirname "$(readlink -f "${0}")")"
TICLOCK_EXEC="${TICLOCK_RUNPATH}"/usr/bin/ticlock
LD_LIBRARY_PATH="${TICLOCK_RUNPATH}"/lib/:"${TICLOCK_RUNPATH}"/lib64/
LIBRARY_PATH="${TICLOCK_RUNPATH}"/lib/:"${TICLOCK_RUNPATH}"/lib64/
PATH=$PATH:"${TICLOCK_RUNPATH}"/bin/:"${TICLOCK_RUNPATH}"/sbin/:"${TICLOCK_RUNPATH}"/usr/bin/
exec "${TICLOCK_EXEC}" $@ The error what I'm getting is |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Instead of
I didn't test this but it should give you an idea. |
Beta Was this translation helpful? Give feedback.
Instead of
exec "${TICLOCK_EXEC}" $@
you need to execute the musl libc ld loader, roughly along these lines:I didn't test this but it should give you an idea.