当我在加载 libz.so.1 库时尝试运行可执行文件时出错

当我在加载 libz.so.1 库时尝试运行可执行文件时出错

由于库的原因,我无法运行可执行文件libz.so.1

我已经安装了该zlib1g_1.2.11.dfsg-1_amd64.deb软件包,但错误仍然出现。我该如何解决这个问题?这是终端的输出。

user@debian:~/Games/Undertale$ ./runner 
./runner: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

更新:我成功安装了上面的库,sudo apt install lib32z1但还有其他库我找不到。这是命令的输出ldd

user@debian:~/Games/Undertale$ ldd runner 
    linux-gate.so.1 (0xf7fb3000)
    libstdc++.so.6 => /lib32/libstdc++.so.6 (0xf7e18000)
    libz.so.1 => /lib32/libz.so.1 (0xf7df9000)
    libXxf86vm.so.1 => not found
    libGL.so.1 => not found
    libopenal.so.1 => not found
    libm.so.6 => /lib32/libm.so.6 (0xf7d2a000)
    librt.so.1 => /lib32/librt.so.1 (0xf7d1f000)
    libpthread.so.0 => /lib32/libpthread.so.0 (0xf7cfe000)
    libdl.so.2 => /lib32/libdl.so.2 (0xf7cf8000)
    libcrypto.so.1.0.0 => not found
    libXext.so.6 => not found
    libX11.so.6 => not found
    libXrandr.so.2 => not found
    libGLU.so.1 => not found
    libssl.so.1.0.0 => not found
    libgcc_s.so.1 => /lib32/libgcc_s.so.1 (0xf7cd8000)
    libc.so.6 => /lib32/libc.so.6 (0xf7afa000)
    /lib/ld-linux.so.2 (0xf7fb5000)

如何找到丢失的库?

(注:可执行文件是 i386 二进制文件,但系统是 amd64)

相关内容