1
2
2
./CS2D ./CS2D: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory
I am not a Linux expert, any help will be greatly appreciated!
./CS2D ./CS2D: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory
No such file or directorycould be caused by various things (like the dynamic loader or a component from the executable itself being missing), it does not necessarily mean the file in question does not exist (as the kernel can see the file and even read it). The message can be tricky at times.
LD_LIBRARY_PATH=./:$LD_LIBRARY_PATH ./CS2D
LD_LIBRARY_PATH=./:$LD_LIBRARY_PATH ./CS2D Segmentation fault (core dumped)
linux-gate.so.1 (0xf7ed6000) 	libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf7d6d000) 	libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0xf7d66000) 	libGL.so.1 => /usr/lib/i386-linux-gnu/libGL.so.1 (0xf7d05000) 	libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xf7c48000) 	libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7c43000) 	libsteam_api.so => not found 	libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7abd000) 	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf79bb000) 	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf799d000) 	libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf797e000) 	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf77a0000) 	libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf7774000) 	libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf775f000) 	libGLX.so.0 => /usr/lib/i386-linux-gnu/libGLX.so.0 (0xf773c000) 	libGLdispatch.so.0 => /usr/lib/i386-linux-gnu/libGLdispatch.so.0 (0xf76dd000) 	libpng16.so.16 => /usr/lib/i386-linux-gnu/libpng16.so.16 (0xf76a3000) 	libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf7684000) 	/lib/ld-linux.so.2 (0xf7ed8000) 	libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf7680000) 	libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf7679000) 	libbsd.so.0 => /lib/i386-linux-gnu/libbsd.so.0 (0xf765e000) 	librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf7652000)
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./CS2D...(no debugging symbols found)...done. (gdb) handle SIG33 pass nostop noprint Signal Stop	Print	Pass to program	Description SIG33 No	No	Yes		Real-time event 33 (gdb) set pagination 0 (gdb) run Starting program: /home/jakob/.steam/steam/steamapps/common/CS2D/CS2D /home/jakob/.steam/steam/steamapps/common/CS2D/CS2D: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory [Inferior 1 (process 19540) exited with code 0177] (gdb) s[Kbacktrace full No stack. (gdb) info registers The program has no registers now. (gdb) x/16i $pc No registers. (gdb) thread apply all backtrace (gdb) quit
./CS2D: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory
Segmentation fault (core dumped)