Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003200Dwarf FortressTechnical -- Soundpublic2010-09-10 19:352015-01-07 11:51
ReporterKaphonaits 
Assigned Tolethosor 
PriorityurgentSeveritymajorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformComputerOSUbuntu LinuxOS VersionUbuntu 10.04
Product Version0.31.12 
Target VersionFixed in Version 
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
Attached Files

- Relationships
has duplicate 0006501resolvedFootkerchief No Sound; possibly an OpenAL Symlink issue 

-  Notes
(0012572)
Logical2u (manager)
2010-09-10 19:53

Are you sure you are playing in version 31.12? This was fixed in 31.11.
(0012573)
Kaphonaits (reporter)
2010-09-10 19:58
edited on: 2010-09-10 20:00

Yes, I am 100% sure. It is 31.12

It was not fixed apparently. :(

(0012580)
Logical2u (manager)
2010-09-11 07:38

Reminder sent to: Baughn

Hey Baughn, mind taking a look at this? It sounds like a repeat of 0002616.
(0012581)
Baughn (manager)
2010-09-11 08:09

Do you have a 32-bit libopenal installed anywhere? If so, where?
(0012589)
Supermathie (reporter)
2010-09-11 17:50

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
(0012717)
akd (reporter)
2010-09-16 11:35

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
(0013742)
Khym Chanur (reporter)
2010-11-12 20:40

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
(0025002)
leoboiko (reporter)
2014-07-08 05:12

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
(0025025)
granite (reporter)
2014-07-08 07:05

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*
(0025044)
Kuxe (reporter)
2014-07-08 08:51

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.
(0031554)
lethosor (manager)
2014-12-29 07:17

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.
(0031755)
Toady One (administrator)
2015-01-07 11:24

The patch doesn't seem to work for my Ubuntu, but perhaps it will for somebody else.
(0031757)
Detros (manager)
2015-01-07 11:51

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.

- 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 View Revisions
2010-09-11 07:38 Logical2u Issue Monitored: Baughn
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-11 17:50 Supermathie Issue Monitored: Supermathie
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
2010-11-12 20:40 Khym Chanur Issue Monitored: Khym Chanur
2012-02-18 14:51 UberNube Issue Monitored: UberNube
2014-06-10 08:28 Footkerchief 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 Issue Monitored: Toady One
2014-12-29 07:17 lethosor Note Added: 0031554
2015-01-07 11:24 Toady One Note Added: 0031755
2015-01-07 11:51 Detros Note Added: 0031757
2015-01-07 11:51 Detros Issue Monitored: Detros


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker