libSDL-1.1.so.0: cannot load shared object file

Post Reply
Message
Author
rs
Posts: 262
Joined: 23. Aug 2000 11:02
Location: Bayreuth
Contact:

libSDL-1.1.so.0: cannot load shared object file

#1 Post by rs »

Hi,

folgendes Problem:

ich will ein Spiel (egoboo) installieren.
Ich bekomme immer den Fehler: code/egoboo: error while loading shared libraries: libSDL-1.1.so.0: cannot load
shared object file: No such file or directory

Die libraries habe ich aber installiert.

Muss ich die noch irgendwie verlinken oder so?

CU
RS

http://www.gamesforlinux.de

hugenay

Re: libSDL-1.1.so.0: cannot load shared object file

#2 Post by hugenay »

der sucht die wahrscheinlich da wo sie nicht sind. Vielleicht hilft ein updaten von /etc/ld.so.config oder einen manuellen link setzen (von /usr/lib nach /usr/local/lib oder was).

Michael

Re: libSDL-1.1.so.0: cannot load shared object file

#3 Post by Michael »

Das Programm sucht vielleicht eine veraltete Version der libSDL (aktuell ist 1.2 oder so?).
Mache einfach einen symbolischen Link im entsprechenden lib-Verzeichnis:
ln -s libSDL-1.?.so.0 libSDL-1.1.so.0
und danach noch ldconfig.

rs
Posts: 262
Joined: 23. Aug 2000 11:02
Location: Bayreuth
Contact:

Re: libSDL-1.1.so.0: cannot load shared object file

#4 Post by rs »

Hi,

macht es was wenn ich nur die libSDL-1.2.so.0 im Verzeeichnis /usr/lib habe? Wie kann ich sehen in welchem Verzeichnis nach der lib gesucht wird?

Cu
RS

rs
Posts: 262
Joined: 23. Aug 2000 11:02
Location: Bayreuth
Contact:

Re: libSDL-1.1.so.0: cannot load shared object file

#5 Post by rs »

ok, hat sich geklärt . Ich hab die libSDL-1.2.so.0 mit /usr/lib /usr/local/lib und /lib verlinkt.

Danke
RS

http://www.gamesforlinux.de

Michael

Re: libSDL-1.1.so.0: cannot load shared object file

#6 Post by Michael »

Es gibt eine elegantere Methode:
mit "ldd /voller_pfad/programmname" zeigt er die Libs mit Pfaden, die das Programm benoetigt.
Diese Pfade muessen in "/etc/ld.so.conf" stehen, damit vorhandene Libs gefunden werden. Fehlt ein Pfad, einfach nachtragen und "ldconfig" machen, dann sollte es auch ohne Verlinkung funktionieren.

Post Reply