DRL > Bug Reports

[0.9.9.7 Linux] Failed loading libsmpeg-0.4.so.0

(1/1)

electron105:
Hi, I just want to start out by saying that I'm a bit of a Linux noob (trying to get stuff like this working is part of my learning experience!) so I apologise if I've done something wrong. However, after installing the libraries SDL, SDL_mixer, SDL_image and smpeg I try to fire up the game through the terminal and am greeted with this message:


--- Code: ---Abnormal program termination!

Reason : RegisterMusic(mp3/d1inter.mp3): Failed loading libsmpeg-0.4.so.0: libsmpeg-0.4.so.0: cannot open shared object file: No such file or directory

If this reason doesn't seem your fault, please submit a bug report at
http://forum.chaosforge.org/, be sure to include the last entries in
your error.log that will get created once you hit Enter.

An unhandled exception occurred at $00000000005E948A :
ESoundException : RegisterMusic(mp3/d1inter.mp3): Failed loading libsmpeg-0.4.so.0: libsmpeg-0.4.so.0: cannot open shared object file: No such file or directory
  $00000000005E948A line 158 of ../fpcvalkyrie/src/vsound.pas
  $0000000000483369 line 347 of src/doomio.pas
  $000000000046B7D7 line 142 of src/doombase.pas
  $000000000046C306 line 259 of src/doombase.pas
  $00000000004286A8 line 111 of src/doomrl.pas

--- End code ---

I have definitely installed the libsmpeg library (which I got from http://pkgs.org/centos-6-rhel-6/linuxtech-x86_64/libsmpeg-0.4.5-0.5.svn391.el6.x86_64.rpm.html) and the libsmpeg-0.4.so.0 file is definitely located at /usr/lib64/libsmpeg-0.4.so.0 (where the libSDL libraries are) so I am at a loss. Any help would be appreciated.

Thanks in advance.

PS. I am running Mint 14 on a Lenovo Ideapad Z560

Kornel Kisielewicz:
Are you running the 32 or 64 bit version?

electron105:
64bit everything. Just checked my downloads and I definitely got the right versions.

dtsund:
Why'd you install the library manually?  Do it using your distro's own package manager; what you did is asking for headaches like this without end.

electron105:
Hey guys thanks for the responses, I have found the problem and the game works now :) Turns out that the smpeg libraries needed to be in /usr/lib/ not lib64 (which was where the rpm put them).

I installed it manually because when I tried to install the package using apt-get install at the terminal it returned the message:

--- Code: ---Package smpeg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

--- End code ---
so I went online and found it myself. As I said earlier I'm a noob when it comes to linux so if I've completely missed an easier way of doing things then that's why!

Anyway, thanks again.

Navigation

[0] Message Index

Go to full version