You are not logged in.

#1 2009-02-20 00:59:24

FlamingZebra90
Member
Registered: 2009-02-10
Posts: 7

[resolved]Tremulous - error loading shared libraries: libopenal.so.0

Hmm.

Well, first off, I'd like to say hello to everyone here, this looks to be my first post.  I've been using arch for about a month now and I love it!

Anyways, to the point:

The other day i got the FPS tremulous running and played it for a bit.  However, today, when i tried to play it i recieved the following error:

ryan ~  $  tremulous 
./tremulous.x86: error while loading shared libraries: libopenal.so.0: cannot open shared object file: No such file or directory

I'm not really sure what to do from here.

I tried all my usual tricks (sudo, chmod 777 everything with lubopenal in the name, google it, read man pages, chmod everything again - just in case, restart) but im really just flailing around.

Could someone point me in the right direction? any help would be appreciated.

Thanks!

Last edited by FlamingZebra90 (2009-02-20 02:31:09)


And so it went...

Offline

#2 2009-02-20 01:54:24

FlamingZebra90
Member
Registered: 2009-02-10
Posts: 7

Re: [resolved]Tremulous - error loading shared libraries: libopenal.so.0

I've found that the libopenal is part of openal (amazing, huh?)

it seems that its not playing nice with alsa.

any idea on how to resolve the issue?

ryan ~  $  openal-info 
AL lib: alsa.c:385: Could not open playback device 'default': No such file or directory
Available playback devices:
    ALSA Software on default
    ALSA Software on HDA Intel [ALC268 Analog]
    OSS Software
    Wave File Writer
Available capture devices:
    ALSA Capture on default
    ALSA Capture on HDA Intel [ALC268 Analog]
    ALSA Capture on HDA Intel [ALC268 Analog]
    OSS Capture
Default device: ALSA Software on default
Default capture device: ALSA Capture on default
ALC version: 1.1
ALC extensions:
    ALC_ENUMERATE_ALL_EXT, ALC_ENUMERATION_EXT, ALC_EXT_CAPTURE, ALC_EXT_EFX
OpenAL vendor string: OpenAL Community
OpenAL renderer string: OpenAL Soft
OpenAL version string: 1.1 ALSOFT 1.6.372
OpenAL extensions:
    AL_EXTX_buffer_sub_data, AL_EXT_EXPONENT_DISTANCE, AL_EXT_FLOAT32, 
    AL_EXT_IMA4, AL_EXT_LINEAR_DISTANCE, AL_EXT_MCFORMATS, AL_EXT_OFFSET, 
    AL_LOKI_quadriphonic
EFX version: 1.0
Max auxiliary sends: 1
Available filters:
    Low-pass
Available effects:
    Standard Reverb

Last edited by FlamingZebra90 (2009-02-20 01:54:49)


And so it went...

Offline

#3 2009-02-20 02:33:00

FlamingZebra90
Member
Registered: 2009-02-10
Posts: 7

Re: [resolved]Tremulous - error loading shared libraries: libopenal.so.0

poking around my /usr/lib/, i found that i had these three files:

libopenal.so          libopenal.so.1        libopenal.so.1.6.372

for whatever reason, they'd been changed.

mv /usr/lib/libopenal.so.1 /usr/lib/libopenal.so.0

solved the problem


And so it went...

Offline

#4 2009-02-20 02:43:42

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: [resolved]Tremulous - error loading shared libraries: libopenal.so.0

I wouldn't do that. OpenAL was updated 2 days ago, this renamed the library. You just broke anything else that wanted it with the new name.

Instead, tremulous, needs to be recompiled to use the new name as well. Leave a comment on its AUR page, and if you can't wait for the maintainer to do the rebuild, rebuild it locally.

Offline

#5 2009-02-21 20:07:32

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: [resolved]Tremulous - error loading shared libraries: libopenal.so.0

You might also want to look at my tremulous-updated package in AUR and the arch-games binary repo.

Offline

#6 2009-02-26 07:05:32

gingermig
Member
From: Fjærland, Norway
Registered: 2009-02-03
Posts: 5
Website

Re: [resolved]Tremulous - error loading shared libraries: libopenal.so.0

ataraxia wrote:

I wouldn't do that. OpenAL was updated 2 days ago, this renamed the library. You just broke anything else that wanted it with the new name.

Instead, tremulous, needs to be recompiled to use the new name as well. Leave a comment on its AUR page, and if you can't wait for the maintainer to do the rebuild, rebuild it locally.

Couldn't we just link to libopenal.so.1?

# ln -s /usr/lib/libopenal.so.1 /usr/lib/libopenal.so.0

Offline

#7 2009-02-26 07:08:15

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,667
Website

Re: [resolved]Tremulous - error loading shared libraries: libopenal.so.0

gingermig wrote:

Couldn't we just link to libopenal.so.1?

# ln -s /usr/lib/libopenal.so.1 /usr/lib/libopenal.so.0

Full of yuck!  Read http://www.archlinux.org/static/newslet … ontributed

Offline

#8 2009-02-26 18:40:26

gingermig
Member
From: Fjærland, Norway
Registered: 2009-02-03
Posts: 5
Website

Re: [resolved]Tremulous - error loading shared libraries: libopenal.so.0

OK. Bookmarked. Thanks for pointing us in the right direction!

Offline

Board footer

Powered by FluxBB