[openal] Releasing openal-soft with linux games

Daniel Gibson metalcaedes at gmail.com
Mon Jun 9 15:27:05 EDT 2014


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
>



More information about the openal mailing list