Skip to content

Commit 633e913

Browse files
committed
123
1 parent 2791dc3 commit 633e913

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,15 @@ jobs:
4747
[ ! -f "$QEMU_BIN" ] && echo "ERROR: $QEMU_BIN not found." && exit 1
4848
4949
tmp_output=$(mktemp)
50+
ldd "$QEMU_BIN"
51+
sudo find / -name "libcaps*"
5052
ldd "$QEMU_BIN" > "$tmp_output" 2>&1
5153
missing_libs=$(grep "not found" "$tmp_output" | awk '{print $1}')
5254
5355
for lib in $missing_libs; do
5456
base_lib=$(echo "$lib" | sed -E 's/\.so.*/\.so/')
5557
56-
echo "🔍 正在查找基础库:$base_lib..."
58+
echo "🔍 正在查找基础库:$base_lib ..."
5759
found=$(sudo find /lib/x86_64-linux-gnu /lib /usr/lib -type f -name "$base_lib" 2>/dev/null | head -n1)
5860
5961
if [ -n "$found" ]; then

0 commit comments

Comments
 (0)