Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]OpenRA crashes on startup: can't find libopenal.so.1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
fusion809
n00b
n00b


Joined: 15 Oct 2015
Posts: 71

PostPosted: Tue Apr 11, 2017 2:44 pm    Post subject: [SOLVED]OpenRA crashes on startup: can't find libopenal.so.1 Reply with quote

Hi,

I have OpenRA 20170408 installed from a bumped ebuild I originally took from the hossie overlay. The hossie overlay provides OpenRA 20170304 at latest, I took this ebuild and bumped its version to 20170408. Then I built OpenRA from it. This installation of OpenRA occurs without any errors reported. I ran OpenRA after this and it crashed. I have tried installing OpenRA from the hossie overlay (using the latest ebuild there, 20170304) and this installation of OpenRA succeeded (i.e., it installed without any errors reported) but it gave the exact same error when I tried to launch it and it crashed... The exact output on OpenRA startup:

Code:

Platform is Linux
Using SDL 2 with OpenGL renderer
Desktop resolution: 1600x900
No custom resolution provided, using desktop resolution
Using resolution: 1600x900
Using window scale 1.00
OpenGL version: 3.0 Mesa 17.0.3
Using default sound device
Renderer initialization failed. Check graphics.log for details.
Using SDL 2 with OpenGL renderer
Desktop resolution: 1600x900
No custom resolution provided, using desktop resolution
Using resolution: 1600x900
Using window scale 1.00
OpenGL version: 3.0 Mesa 17.0.3
Using default sound device
Renderer initialization failed. Check graphics.log for details.
Exception of type `System.InvalidOperationException`: Failed to initialize platform-integration library. Check graphics.log for details.
  at OpenRA.Game.Initialize (OpenRA.Arguments args) [0x00116] in <96f18ea93b7243efbb9796e0b8fa3e27>:0
  at OpenRA.Program.Run (System.String[] args) [0x00006] in <96f18ea93b7243efbb9796e0b8fa3e27>:0
  at OpenRA.Program.Main (System.String[] args) [0x00048] in <96f18ea93b7243efbb9796e0b8fa3e27>:0


(zenity:22714): Gtk-WARNING **: Theme parsing error: gtk.css:1036:92: Missing closing bracket at end of linear gradient

(zenity:22714): Gtk-WARNING **: Theme parsing error: gtk.css:1036:94: Expected semicolon

(zenity:22714): Gtk-WARNING **: Theme parsing error: gtk.css:1036:124: Expected semicolon

(zenity:22714): Gtk-WARNING **: Theme parsing error: gtk.css:1147:50: Expected semicolon

(zenity:22714): Gtk-WARNING **: Theme parsing error: gtk.css:3129:50: Expected semicolon
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.


here is my graphics.log file (it is what mentions libopenal.so.1). Here is the exception log (it was located at ~/.openra/exception-2017-04-11T143421Z.log). Running:

Code:
LD_DEBUG=libs openra > ~/openra-debug.log 2>&1


gives this log.

I have reported this at the hossie overlay's bug tracker, here. I suspect this is specific to my Gentoo installation as a previous Gentoo installation on this PC ran OpenRA fine and I'm trying to figure out what the problem is.

I have also run:

Code:

equery belongs -e libopenal.so.1


to see if I can find what package is meant to provide this missing library but it returned:

Code:

!!! Parse error in '/var/db/pkg/sys-kernel/gentoo-sources-4.10.9/CONTENTS'
!!!   line 51707: Null byte found in CONTENTS entry
 * Searching for libopenal.so.1 ...


Thanks for your time,
Brenton
_________________
Open-source advocate with an inquisitive disposition


Last edited by fusion809 on Tue Apr 11, 2017 4:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1214
Location: Massachusetts USA

PostPosted: Tue Apr 11, 2017 4:28 pm    Post subject: Reply with quote

libopenal.so.1 is provided by media-libs/openal
Back to top
View user's profile Send private message
fusion809
n00b
n00b


Joined: 15 Oct 2015
Posts: 71

PostPosted: Tue Apr 11, 2017 4:35 pm    Post subject: Reply with quote

Thanks for the info, but oddly my system has that packaged installed. Running emerge -pqv media-libs/openal returns:

Code:

[ebuild   R   ] media-libs/openal-1.17.2  USE="alsa qt4 (-coreaudio) -debug -jack (-neon) -oss -portaudio -pulseaudio" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse sse2 -sse4_1"


while:

Code:

equery files media-libs/openal


returns:

Code:

 * Contents of media-libs/openal-1.17.2:
/usr
/usr/bin
/usr/bin/alsoft-config
/usr/bin/altonegen
/usr/bin/bsincgen
/usr/bin/makehrtf
/usr/bin/openal-info
/usr/include
/usr/include/AL
/usr/include/AL/al.h
/usr/include/AL/alc.h
/usr/include/AL/alext.h
/usr/include/AL/efx-creative.h
/usr/include/AL/efx-presets.h
/usr/include/AL/efx.h
/usr/lib64
/usr/lib64/libopenal.so
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/openal.pc
/usr/share
/usr/share/doc
/usr/share/doc/openal-1.17.2
/usr/share/doc/openal-1.17.2/ChangeLog.bz2
/usr/share/doc/openal-1.17.2/README.bz2
/usr/share/doc/openal-1.17.2/alsoftrc.sample.bz2
/usr/share/doc/openal-1.17.2/env-vars.txt.bz2
/usr/share/doc/openal-1.17.2/hrtf.txt.bz2
/usr/share/openal
/usr/share/openal/alsoftrc.sample
/usr/share/openal/hrtf
/usr/share/openal/hrtf/default-44100.mhr
/usr/share/openal/hrtf/default-48000.mhr


note how the closest thing mentioned to libopenal.so.1 is /usr/lib64/libopenal.so
_________________
Open-source advocate with an inquisitive disposition
Back to top
View user's profile Send private message
fusion809
n00b
n00b


Joined: 15 Oct 2015
Posts: 71

PostPosted: Tue Apr 11, 2017 4:38 pm    Post subject: Reply with quote

I'll be ...ed re-installing openal fixed the issue! The new file it seemed to install that wasn't in my filesystem was:

Code:

/usr/lib64/libopenal.so.1.17.2

_________________
Open-source advocate with an inquisitive disposition
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum