Skip to content

Commit 55fe7c3

Browse files
committed
Add more debug: ldd output and VERBOSE mode for sharun lib4bin
- Show ldd output to see what libs are detected - Enable VERBOSE, GEN_LIB_PATH, WITH_HOOKS - Check if shared/ directory is created
1 parent 128f9dd commit 55fe7c3

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

scripts/make-appimage.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,25 @@ echo "Sharun téléchargé, exécution de lib4bin..."
1919
# Configurer les variables d'environnement pour sharun (comme quick-sharun)
2020
export DST_DIR="./AppDir"
2121
export HARD_LINKS=1
22+
export GEN_LIB_PATH=1
23+
export WITH_HOOKS=1
24+
export VERBOSE=1
2225

2326
# Debug: vérifier que le binaire existe
2427
echo "=== DEBUG: Contenu de ./AppDir/bin/ ==="
2528
ls -la ./AppDir/bin/ | head -10
2629
echo "=== DEBUG: Type du binaire am-gui ==="
2730
file ./AppDir/bin/am-gui || echo "am-gui introuvable"
31+
echo "=== DEBUG: ldd am-gui ==="
32+
ldd ./AppDir/bin/am-gui 2>&1 | head -20
2833

2934
# Utiliser sharun l (lib4bin) pour compatibilité musl
3035
echo "=== Exécution de sharun lib4bin ==="
31-
/tmp/sharun-aio l ./AppDir/bin/am-gui 2>&1 || echo "sharun lib4bin a échoué avec code $?"
36+
/tmp/sharun-aio l ./AppDir/bin/am-gui 2>&1
3237

3338
echo "=== DEBUG: Contenu de ./AppDir après lib4bin ==="
34-
ls -la ./AppDir/ | head -10
39+
ls -la ./AppDir/ | head -15
40+
ls -la ./AppDir/shared/ 2>/dev/null || echo "Pas de dossier shared/"
3541
echo "Lib4bin terminé"
3642

3743
# Additional changes can be done in between here

0 commit comments

Comments
 (0)