Page 1 of 1

No sound on Linux after upgrade to OpenAL 1.13

Posted: Wed Nov 02, 2011 5:24 pm
by longshanks197
I ran into an issue on my Debian i386 linux laptop running the released (Build 376). I had no sound. Log file had the following:
==============================================
2011-11-02 17:05:50
Myth II 32-Bit Build 376 running under Linux -----------------------------------
-----------
Loading poweruser.txt... not found.
Scanning for software devices...
Found 1 to use
Scanning for OpenGL devices...
Found 1 to use
Mesa DRI Intel(R) IGD x86/MMX/SSE2 | Tungsten Graphics, Inc | OpenGL 1.4
WARNING: OpenAL library not found. Sound will be disabled.
Loading Patch Files...
Patch 1.2
Patch MariusNet
Patch 1.3
Patch 1.4
Patch 1.4 Interface
Patch 1.5
Patch 1.7 Templates

===========================
I had OpenAL 1.13 installed. I downgraded to 1.12 and the sound issue is resolved.I noticed that the Debian package moved libopenal.so.1 from /usr/lib to /usr/lib/i386-linux-gnu/

I reinstalled 1.13 and put a symbolic link from /usr/lib/libopenal.so.1 to /usr/lib/i386-linux-gnu/libopenal.so.1 and sound works as expected.

Is this a static link in the program? Nevertheless, this appears to be a temporary solution.

Re: No sound on Linux after upgrade to OpenAL 1.13

Posted: Wed Nov 02, 2011 11:28 pm
by Myrd
Thanks for the report. I'll take a look at getting this fixed in a latter update.

Re: No sound on Linux after upgrade to OpenAL 1.13

Posted: Sat Jan 07, 2012 5:43 pm
by Myrd
I've updated the Linux Myth II 1.7.2 build, which now has this fixed.

Re: No sound on Linux after upgrade to OpenAL 1.13

Posted: Thu Oct 17, 2013 6:21 pm
by elgandoz
I have a very similar problem running latest Ubuntu Saucy 13.10 64bit and Myth II demo 1.8

Code: Select all

Myth II (Demo) Build 425 running under Linux ----------------------------------------------
Loading poweruser.txt... not found.
DEBUG: Updating monolithic tag cache:
	Initial count: 13
	Number removed: 0
	Number added: 0
	New count: 13
DEBUG: Adding 12 monolithic tags:
	small install
	medium install
	large install
	international small install
	international large install
	Patch 1.2
	Patch 1.3
	Patch 1.4
	Patch 1.5
	MariusNet
	Patch 1.8 Interface
	Demo Detail Textures
Scanning for software devices...
	Found 1 to use
Scanning for OpenGL devices...
	Found 1 to use
	Gallium 0.4 on AMD REDWOOD | X.Org | OpenGL 3.0
Initializing sound with OpenAL...
OpenAL: Loaded OpenAL library 'libopenal.so.0'.
OpenAL: OpenAL library not found. Sound will be disabled.
OpenAL initialization failed.
Closing Myth.
I've installed libopenal1 and symlinking /usr/lib/x86_64-linux-gnu/libopenal.so.1.14.0 to /usr/lib/libopenal.so.0 or /usr/lib/libopenal.so.1 doesn't work.
Any advice? :?:

Also I had similar issue with libglu:

Code: Select all

error while loading shared libraries: libGLU.so.1
Solved symlinking.

Re: No sound on Linux after upgrade to OpenAL 1.13

Posted: Thu Oct 17, 2013 7:50 pm
by Melekor
Myth is a 32 bit app, so you'll need to make sure that you symlink to 32 bit libraries. /usr/lib/x86_64-linux-gnu/libopenal.so.1.14.0 looks like 64 bit based on the x86_64 part