Posted March 18, 2022
Unable to start the game on Parabola GNU/Linux.
$ ./start.sh
Running Loop Hero
./Loop_Hero: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
$ pacman -Ss libldap
core/libldap 2.6.1-1 [installed]
Lightweight Directory Access Protocol (LDAP) client libraries
There seems to be no problem with the ldd of Loop_Hero.
$ cd game
$ ldd Loop_Hero
linux-vdso.so.1 (0x00007ffec8f9c000)
libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00007f84b4092000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f84b3e6c000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f84b3e52000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x00007f84b3e4b000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f84b3dc5000)
libopenal.so.1 => /usr/lib/libopenal.so.1 (0x00007f84b3c63000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f84b3b7b000)
librt.so.1 => /usr/lib/librt.so.1 (0x00007f84b3b76000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f84b3b71000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f84b3b6c000)
libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x00007f84b388b000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f84b3874000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f84b3732000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007f84b3725000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0x00007f84b36ce000)
libssl.so.1.1 => /usr/lib/libssl.so.1.1 (0x00007f84b3637000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f84b361c000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f84b3410000)
libnghttp2.so.14 => /usr/lib/libnghttp2.so.14 (0x00007f84b33e9000)
libidn2.so.0 => /usr/lib/libidn2.so.0 (0x00007f84b33c7000)
libssh2.so.1 => /usr/lib/libssh2.so.1 (0x00007f84b3386000)
libpsl.so.5 => /usr/lib/libpsl.so.5 (0x00007f84b3373000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007f84b331e000)
libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007f84b326d000)
libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007f84b325f000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f84b4156000)
libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007f84b31a7000)
libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007f84b3174000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f84b314a000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f84b313b000)
libOpenGL.so.0 => /usr/lib/libOpenGL.so.0 (0x00007f84b310f000)
libunistring.so.2 => /usr/lib/libunistring.so.2 (0x00007f84b2f8d000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007f84b2ea6000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007f84b2e75000)
libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x00007f84b2e6d000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007f84b2e5d000)
libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0x00007f84b2e56000)
libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f84b2e42000)
libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007f84b2e1f000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f84b2e1a000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f84b2e10000)
However, when I ran Loop_Hero directly, this also produced an error
$ ./Loop_Hero
....
....
Floating point exception (core dumped)
$ ./start.sh
Running Loop Hero
./Loop_Hero: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
$ pacman -Ss libldap
core/libldap 2.6.1-1 [installed]
Lightweight Directory Access Protocol (LDAP) client libraries
There seems to be no problem with the ldd of Loop_Hero.
$ cd game
$ ldd Loop_Hero
linux-vdso.so.1 (0x00007ffec8f9c000)
libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00007f84b4092000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f84b3e6c000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f84b3e52000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x00007f84b3e4b000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f84b3dc5000)
libopenal.so.1 => /usr/lib/libopenal.so.1 (0x00007f84b3c63000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f84b3b7b000)
librt.so.1 => /usr/lib/librt.so.1 (0x00007f84b3b76000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f84b3b71000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f84b3b6c000)
libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x00007f84b388b000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f84b3874000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f84b3732000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007f84b3725000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0x00007f84b36ce000)
libssl.so.1.1 => /usr/lib/libssl.so.1.1 (0x00007f84b3637000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f84b361c000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f84b3410000)
libnghttp2.so.14 => /usr/lib/libnghttp2.so.14 (0x00007f84b33e9000)
libidn2.so.0 => /usr/lib/libidn2.so.0 (0x00007f84b33c7000)
libssh2.so.1 => /usr/lib/libssh2.so.1 (0x00007f84b3386000)
libpsl.so.5 => /usr/lib/libpsl.so.5 (0x00007f84b3373000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007f84b331e000)
libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007f84b326d000)
libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007f84b325f000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f84b4156000)
libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007f84b31a7000)
libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007f84b3174000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f84b314a000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f84b313b000)
libOpenGL.so.0 => /usr/lib/libOpenGL.so.0 (0x00007f84b310f000)
libunistring.so.2 => /usr/lib/libunistring.so.2 (0x00007f84b2f8d000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007f84b2ea6000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007f84b2e75000)
libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x00007f84b2e6d000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007f84b2e5d000)
libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0x00007f84b2e56000)
libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f84b2e42000)
libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007f84b2e1f000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f84b2e1a000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f84b2e10000)
However, when I ran Loop_Hero directly, this also produced an error
$ ./Loop_Hero
....
....
Floating point exception (core dumped)