Skip to content

Commit b13dc73

Browse files
arguellesclaude
andcommitted
Fix auditwheel: set LD_LIBRARY_PATH to find bundled libraries
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 289470b commit b13dc73

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tools/wheels/repair_wheel_linux.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,12 @@ cd "$TMPDIR"
5050
zip -q -r "$TMPDIR/fixed_$WHEEL_NAME" ./*
5151

5252
# Run auditwheel on the fixed wheel
53+
# Set LD_LIBRARY_PATH so auditwheel can find bundled libraries
54+
export LD_LIBRARY_PATH="$PACKAGE_DIR:$TMPDIR/lib:${LD_LIBRARY_PATH:-}"
55+
echo "LD_LIBRARY_PATH set to: $LD_LIBRARY_PATH"
56+
echo "Contents of $PACKAGE_DIR:"
57+
ls -la "$PACKAGE_DIR" || true
58+
echo "Contents of $TMPDIR/lib (if exists):"
59+
ls -la "$TMPDIR/lib" 2>/dev/null || echo "lib directory does not exist"
60+
5361
auditwheel repair -w "$DEST_DIR" "$TMPDIR/fixed_$WHEEL_NAME"

0 commit comments

Comments
 (0)