Chaosforge Forum

  • April 19, 2024, 18:47
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: [0.9.9.7 Linux] Failed loading libsmpeg-0.4.so.0  (Read 4775 times)

electron105

  • Private
  • *
  • Offline Offline
  • Posts: 3
  • Lost Soul
    • View Profile
[0.9.9.7 Linux] Failed loading libsmpeg-0.4.so.0
« on: April 16, 2013, 07:14 »

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: [Select]
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

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
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4562
    • View Profile
    • http://chaosforge.org/
Re: [0.9.9.7 Linux] Failed loading libsmpeg-0.4.so.0
« Reply #1 on: April 16, 2013, 09:13 »

Are you running the 32 or 64 bit version?
Logged
at your service,
Kornel Kisielewicz

electron105

  • Private
  • *
  • Offline Offline
  • Posts: 3
  • Lost Soul
    • View Profile
Re: [0.9.9.7 Linux] Failed loading libsmpeg-0.4.so.0
« Reply #2 on: April 16, 2013, 09:26 »

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

dtsund

  • Supporter of Chaos
  • Corporal
  • *
  • *
  • Offline Offline
  • Posts: 53
  • Set Phasers to Hug
    • View Profile
Re: [0.9.9.7 Linux] Failed loading libsmpeg-0.4.so.0
« Reply #3 on: April 16, 2013, 22:44 »

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.
Logged

electron105

  • Private
  • *
  • Offline Offline
  • Posts: 3
  • Lost Soul
    • View Profile
Re: [0.9.9.7 Linux] Failed loading libsmpeg-0.4.so.0
« Reply #4 on: April 16, 2013, 23:14 »

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: [Select]
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
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.
Logged
Pages: [1]