Newbie can't get adom to run on Debian buster, symbol lookup error.
issueid=6282 08-10-2018 11:13 PM
Junior Member
Number of reported issues by adomson: 1
Newbie can't get adom to run on Debian buster, symbol lookup error.
./adom: symbol lookup error: /usr/lib/x86_64-linux-gnu/libSDL2_mixer-2.0.so.0: undefined symbol: SDL_NewAudioStream

Dear all,

Is there some sort of debug build or debug switches . I am on Debian buster but unable to start the game due to some symbol lookup error -

Code:
~/games/adom$ ./adom
<2018-08-10 22:24:16> INFO  : Creating background process
ADOM (version 3.0.6) - (C) 1994-2018 by Thomas Biskup
set minsize to = (800,600)

Ancient Domains Of Mystery -- Version 3.0.6 
(includes NotEye by Zeno for graphical effects) 
(C) Copyright 1994-2018 Thomas Biskup. 
All Rights Reserved. 

./adom: symbol lookup error: /usr/lib/x86_64-linux-gnu/libSDL2_mixer-2.0.so.0: undefined symbol: SDL_NewAudioStream
Here's the libsdl2-mixer package contents -

Code:
~/games/adom$ dpkg -L libsdl2-mixer-2.0-0
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libSDL2_mixer-2.0.so.0.2.0
/usr/share
/usr/share/doc
/usr/share/doc/libsdl2-mixer-2.0-0
/usr/share/doc/libsdl2-mixer-2.0-0/README.txt
/usr/share/doc/libsdl2-mixer-2.0-0/changelog.Debian.gz
/usr/share/doc/libsdl2-mixer-2.0-0/changelog.gz
/usr/share/doc/libsdl2-mixer-2.0-0/copyright
/usr/lib/x86_64-linux-gnu/libSDL2_mixer-2.0.so.0
I did a bit more digging to see it's a symlink -
Code:
~/games/adom$ ls -l /usr/lib/x86_64-linux-gnu/libSDL2_mixer-2.0.so.0
lrwxrwxrwx 1 root root 26 Nov  9  2017 /usr/lib/x86_64-linux-gnu/libSDL2_mixer-2.0.so.0 -> libSDL2_mixer-2.0.so.0.2.0
Couldn't identify anything in the changelog -

Code:
2.0.2:
Sam Lantinga - Fri Oct 20 22:04:50 PDT 2017
 * Implemented 24-bit and surround sound support for FLAC audio files
Sam Lantinga - Thu Oct 12 21:32:44 PDT 2017
 * Updated external libraries flac-1.3.2, libmodplug-0.8.9.0, libogg-1.3.2 and libvorbis-1.3.5
Ryan Gordon - Thu Oct 12 21:29:59 PDT 2017
 * Updated for SDL 2.0.6 and newer
Franc[e]sco - Thu Jul 20 22:03:19 2017 +0200
 * Added support for MP3 playback using mpg123
David Ludwig - Sun Apr 10 22:35:38 2016
 * Added support for UWP / Windows 10 apps
Juha Kuikka - Fri Jan 29 12:44:01 PST 2016
 * Added Mix_OpenAudioDevice() so you can specify the audio device to open

2.0.1:
Sam Lantinga - Tue Jul  7 11:40:33 PDT 2015
 * Added support for 'smpl' format loop points in music WAV files
Sam Lantinga - Sat Aug 23 10:57:26 2014
 * Fixed floating point exception in Mix_Volume()
David Ludwig - Mon Apr 14 22:15:36 2014
 * Added support for building for Windows RT and Windows Phone
Isaac Burns - Sun Sep 15 21:50:27 PDT 2013
 * Added support for loading MP3 files as sound chunks

2.0.0:
Sam Lantinga - Sun Jun  9 14:45:30 PDT 2013
 * Made libmodplug the default MOD player as it is now in the public domain
Sam Lantinga - Sat Jun  1 19:11:08 PDT 2013
 * Updated for SDL 2.0 release
 * SDL_LoadMUS_RW() now takes an argument telling whether or not the data source should be freed when done.
Issue Details
Issue Number 6282
Project ADOM (Ancient Domains Of Mystery)
Category Linux
Status Unconfirmed
Priority Unknown
Affected Version ADOM 3.0.6
Fixed Version (none)
Milestone (none)
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




08-12-2018 03:41 PM
jt jt is offline
Administrator
Could you please post the output of:

Code:
ldd adom
This lists all the dependencies and shows missing ones (in case there are any).

08-13-2018 06:56 AM
jt jt is offline
Administrator
The dependencies look fine. SDL_NewAudioStream seems to be a new function in SDL 2.0.7 (see https://wiki.libsdl.org/Tutorials/AudioStream) and ADOM doesn't even use it.

So to me this looks like a problem in the SDL2 installation. Debian Buster is still beta, right? Maybe you could try asking on a Debian forum.

10-11-2018 01:04 PM
Junior Member
same problem, using debian buster. Do not know how to solve this, some hints on that?

+ Reply