View Issue Details

IDProjectCategoryView StatusLast Update
0003200Dwarf FortressTechnical -- Soundpublic2015-01-07 11:51
ReporterKaphonaits Assigned Tolethosor  
PriorityurgentSeveritymajorReproducibilityalways
Status acknowledgedResolutionopen 
PlatformComputerOSUbuntu LinuxOS VersionUbuntu 10.04
Product Version0.31.12 
Summary0003200: OpenAL Sound Problem
DescriptionWhenever I boot up Dwarf Fortress, I receive an error: "Dynamically loading the OpenAL library failed, disabling sound."
Steps To ReproduceOpen Dwarf Fortress
Additional InformationI haven't tampered with the game in any way, shape, or form.
Tagslinux, sound

Relationships

has duplicate 0006501 resolveduser6 No Sound; possibly an OpenAL Symlink issue 
has duplicate 0011050 resolvedLoci No sound whatsoever. 

Activities

Logical2u

2010-09-10 19:53

manager   ~0012572

Are you sure you are playing in version 31.12? This was fixed in 31.11.

Kaphonaits

2010-09-10 19:58

reporter   ~0012573

Last edited: 2010-09-10 20:00

Yes, I am 100% sure. It is 31.12

It was not fixed apparently. :(

Logical2u

2010-09-11 07:38

manager   ~0012580

Reminder sent to: Baughn

Hey Baughn, mind taking a look at this? It sounds like a repeat of 0002616.

Baughn

2010-09-11 08:09

manager   ~0012581

Do you have a 32-bit libopenal installed anywhere? If so, where?

Supermathie

2010-09-11 17:50

reporter   ~0012589

I get the same on openSuSE 11.3 32-bit:

$ rpm -qa libopenal\*
libopenal1-soft-1.12.854-1.11.i586
libopenal0-soft-1.12.854-7.1.i586

$ rpm -qal libopenal\*
/usr/lib/libopenal.so.1
/usr/lib/libopenal.so.1.12.854
/usr/lib/libopenal.so.0

akd

2010-09-16 11:35

reporter   ~0012717

Same problem, openSUSE 11.3 64-bit, I don't remember what exact version it broke in (possibly was never working on the official Linux release) but I can confirm for 0.31.12 and 0.31.13.

$ rpm -qa libopenal\*
libopenal1-soft-32bit-1.12.854-1.11.x86_64
libopenal0-soft-1.12.854-1.11.x86_64
libopenal0-soft-32bit-1.12.854-1.11.x86_64
libopenal1-soft-1.12.854-1.11.x86_64

$ rpm -qal libopenal\*
/usr/lib/libopenal.so.1
/usr/lib/libopenal.so.1.12.854
/usr/lib64/libopenal.so.0
/usr/lib/libopenal.so.0
/usr/lib64/libopenal.so.1
/usr/lib64/libopenal.so.1.12.854

Khym Chanur

2010-11-12 20:40

reporter   ~0013742

The problem seems to be that DF will only accept the file named libsndfile.so, not libsndfile.so.1 or libsndfile.so.0.21. If you make libsndfile.so a symbolic link to an existing file, then run ldconfig, it fixes the problem. Same applies for libopenal

leoboiko

2014-07-08 05:12

reporter   ~0025002

Confirming this bug is still open in 0.40.01. Khym Chanur's workaround works; here's the relevant commands for Debian wheezy:

    sudo ln -s /usr/lib/i386-linux-gnu/libsndfile.so.1 /usr/lib/i386-linux-gnu/libsndfile.so
    sudo ln -s /usr/lib/i386-linux-gnu/libopenal.so.1 /usr/lib/i386-linux-gnu/libopenal.so
    sudo ldconfig

granite

2014-07-08 07:05

reporter   ~0025025

Mint 15 (based on Ubuntu 13.04) 32 bit here, and I solved this with the command below, which should install 3 things from Ubuntu's repo

$ sudo apt-get install libopenal*

Kuxe

2014-07-08 08:51

reporter   ~0025044

Confirming Khym Chanur's resolution, as leoboiko instructed, on Mint 17 x64. Prior to this I installed devpackages for openal and snd, tested granite's solution without success, created symlinks in /usr/lib32. None of these solved it, but in combination with Khym Chanur it did work.

lethosor

2014-12-29 07:17

manager   ~0031554

Reminder sent to: Toady One

It seems that a patch from https://github.com/Baughn/Dwarf-Fortress--libgraphics-/pull/37/files never made it into DF's libgraphics.

Toady One

2015-01-07 11:24

administrator   ~0031755

The patch doesn't seem to work for my Ubuntu, but perhaps it will for somebody else.

user8971

2015-01-07 11:51

  ~0031757

I can add to this, I had to add "libsdl-ttf2.0-0" to Ubuntu 14.04 32b for DF 40.20 to work and "libopenal-dev" to get rid of this OpenAL problem and enable game music. No name problems occurred.

Add Note

Note

Issue History

Date Modified Username Field Change
2010-09-10 19:35 Kaphonaits New Issue
2010-09-10 19:53 Logical2u Note Added: 0012572
2010-09-10 19:58 Kaphonaits Note Added: 0012573
2010-09-10 20:00 Kaphonaits Note Edited: 0012573
2010-09-11 07:38 Logical2u Note Added: 0012580
2010-09-11 08:09 Baughn Note Added: 0012581
2010-09-11 17:50 Supermathie Note Added: 0012589
2010-09-16 11:35 akd Note Added: 0012717
2010-11-12 20:40 Khym Chanur Note Added: 0013742
2010-11-12 20:40 Khym Chanur Tag Attached: linux
2010-11-12 20:40 Khym Chanur Tag Attached: sound
2014-06-10 08:28 user6 Relationship added has duplicate 0006501
2014-07-08 05:12 leoboiko Note Added: 0025002
2014-07-08 07:05 granite Note Added: 0025025
2014-07-08 08:51 Kuxe Note Added: 0025044
2014-12-29 07:15 lethosor Assigned To => lethosor
2014-12-29 07:15 lethosor Status new => acknowledged
2014-12-29 07:17 lethosor Note Added: 0031554
2015-01-07 11:24 Toady One Note Added: 0031755
2015-01-07 11:51 user8971 Note Added: 0031757
2019-03-03 14:36 Loci Relationship added has duplicate 0011050