[openal] Releasing openal-soft with linux games

Mark Sibly blitzmunter at gmail.com
Sun Jun 15 23:44:19 EDT 2014


Thanks for the tips everyone!

I've installed the latest ubuntu on a brand new/cheap machine, and
everything works really well! Audio (and openal) worked first time without
a hitch (wow) and seems to be lag-free etc, so IMO there's no issue. But
I'm not the customer etc...

I got RPATH=$ORIGIN going, but this effectively forces the app to use the
openal-soft that ships with the app. I think I prefer the app to 'default'
to using system openal - which I reckon will work in 99% of cases - but to
perhaps also provide a secondary/panic batch file that mungs
LD_LIBRARY_PATH to use an internal version of openal-soft. Or maybe this
isn't even really necessary these days?

Another quicky: How can I tell whether the system openal is in fact
openal-soft? And if so, which version?



On Tue, Jun 10, 2014 at 7:27 AM, Daniel Gibson <metalcaedes at gmail.com>
wrote:

> Cool kids use the rpath $ORIGIN linker option instead of LD_LIBRARY_PATH
> in a wrapper script:
> https://www.technovelty.org/linux/exploring-origin.html
>
> Cheers,
> Daniel
>
> Am 08.06.2014 19:05, schrieb Adam Moss:
>
>> Put the openal-soft lib into a dir in your game package, and add that
>> path to LD_LIBRARY_PATH from your game-launching wrapper script.
>> At least, that's the traditional way to make sure that game-specific
>> versions of libs are found first.
>> You have to build that lib carefully to be as distro-agnostic as
>> possible, but that's a problem you'll have to have solved for your
>> actual game binary anyway. :)
>> --Adam
>>
>>
>> On 7 June 2014 02:47, Mark Sibly <blitzmunter at gmail.com
>> <mailto:blitzmunter at gmail.com>> wrote:
>>
>>     Ok, after a bit more research into this it appears most linux
>>     distros are already using openal-soft, correct? Might be time for me
>>     to update from Ubuntu 12.
>>
>>     Still...any info on how to release games on Linux is most welcome!
>>
>>     Bye,
>>     Mark
>>
>>
>>     On Sat, Jun 7, 2014 at 1:20 PM, Mark Sibly <blitzmunter at gmail.com
>>     <mailto:blitzmunter at gmail.com>> wrote:
>>
>>         Hi,
>>
>>         How do I bundle a game for release on linux so it uses
>>         openal-soft instead of the 'builtin' openal.
>>
>>         By 'builtin' openal, I mean the version I get when I do apt-get
>>         install openal (or whatever it is).
>>
>>         I am assuming here that builtin openal is pretty nasty, in that
>>         it suffers from horrendous lag. At least, it did when I tried it
>>         a few years back, and I just tried it again with the same
>>         results, although admittedly this time under vmware.
>>
>>         Actually, I'm pretty mystified by the whole 'releasing for
>>         Linux' process! To date, I've just kind of assumed that users
>>         have the necessary apt-get's installed and left it up to the
>>         user to deal with. Is this truly the 'linux' way?
>>
>>         Bye,
>>         Mark
>>
>>
>>
>>     _______________________________________________
>>     openal mailing list
>>     openal at openal.org <mailto:openal at openal.org>
>>     http://openal.org/mailman/listinfo/openal
>>
>>
>>
>>
>>
>> _______________________________________________
>> openal mailing list
>> openal at openal.org
>> http://openal.org/mailman/listinfo/openal
>>
>>
> _______________________________________________
> openal mailing list
> openal at openal.org
> http://openal.org/mailman/listinfo/openal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openal.org/pipermail/openal/attachments/20140616/b6c0d17a/attachment.html>


More information about the openal mailing list