Sunday, May 5, 2024
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 8867  / 3 Years ago, sat, june 26, 2021, 12:44:58

I'm having an issue with a shared library called libsdl. What I'm trying to do actually is to start up a game engine called GCCG (Generic Collectible Card Game). All the necessary packages were installed for the engine, however when I run the command ./Mtg it gives me the following:



./ccg_client: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory



From the error message, it seems clear that the libSDL libraries are either not installed or they cannot be accessed/are miss-located. After checking my packages with dpkg --get-selections | grep libsdl I found out that all the libSDL packages are installed... so just to make sure, I used sudo apt-get purge on all of the libSDL packages and made a clean install on all of the libSDL packages, however, the result is still the same.


Furthermore, when I use apt-file search libSDL-1.2.so.0, to locate the so-called "missing libraries", I get this as a result:



libsdl1.2debian: /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0


libsdl1.2debian: /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0.11.3



So, as I figure it, they are there... but they are not shared?


More From » shared-library

 Answers
1

Is this a 32 bits or a 64 bits binary ? ( you can check with file ./Mtg ).



If this is a 32 bits binary, then you need the 32 bits version of libSDL, as you seems to be running x86_64.


[#38047] Sunday, June 27, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nuehan

Total Points: 253
Total Questions: 109
Total Answers: 120

Location: Singapore
Member since Sat, Jul 25, 2020
4 Years ago
nuehan questions
Sun, Dec 18, 22, 17:34, 1 Year ago
Mon, Mar 28, 22, 00:10, 2 Years ago
Fri, Jun 24, 22, 11:39, 2 Years ago
Thu, Apr 28, 22, 20:54, 2 Years ago
Fri, Aug 20, 21, 01:06, 3 Years ago
;