<div dir="ltr">Thanks for the tips everyone!<div><br></div><div>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...</div>
<div><br></div><div>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?</div>
<div><br></div><div>Another quicky: How can I tell whether the system openal is in fact openal-soft? And if so, which version?</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 10, 2014 at 7:27 AM, Daniel Gibson <span dir="ltr"><<a href="mailto:metalcaedes@gmail.com" target="_blank">metalcaedes@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Cool kids use the rpath $ORIGIN linker option instead of LD_LIBRARY_PATH in a wrapper script:<br>
<a href="https://www.technovelty.org/linux/exploring-origin.html" target="_blank">https://www.technovelty.org/<u></u>linux/exploring-origin.html</a><br>
<br>
Cheers,<br>
Daniel<br>
<br>
Am 08.06.2014 19:05, schrieb Adam Moss:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
Put the openal-soft lib into a dir in your game package, and add that<br>
path to LD_LIBRARY_PATH from your game-launching wrapper script.<br>
At least, that's the traditional way to make sure that game-specific<br>
versions of libs are found first.<br>
You have to build that lib carefully to be as distro-agnostic as<br>
possible, but that's a problem you'll have to have solved for your<br>
actual game binary anyway. :)<br>
--Adam<br>
<br>
<br>
On 7 June 2014 02:47, Mark Sibly <<a href="mailto:blitzmunter@gmail.com" target="_blank">blitzmunter@gmail.com</a><br></div><div class="">
<mailto:<a href="mailto:blitzmunter@gmail.com" target="_blank">blitzmunter@gmail.com</a>><u></u>> wrote:<br>
<br>
    Ok, after a bit more research into this it appears most linux<br>
    distros are already using openal-soft, correct? Might be time for me<br>
    to update from Ubuntu 12.<br>
<br>
    Still...any info on how to release games on Linux is most welcome!<br>
<br>
    Bye,<br>
    Mark<br>
<br>
<br>
    On Sat, Jun 7, 2014 at 1:20 PM, Mark Sibly <<a href="mailto:blitzmunter@gmail.com" target="_blank">blitzmunter@gmail.com</a><br></div><div class="">
    <mailto:<a href="mailto:blitzmunter@gmail.com" target="_blank">blitzmunter@gmail.com</a>><u></u>> wrote:<br>
<br>
        Hi,<br>
<br>
        How do I bundle a game for release on linux so it uses<br>
        openal-soft instead of the 'builtin' openal.<br>
<br>
        By 'builtin' openal, I mean the version I get when I do apt-get<br>
        install openal (or whatever it is).<br>
<br>
        I am assuming here that builtin openal is pretty nasty, in that<br>
        it suffers from horrendous lag. At least, it did when I tried it<br>
        a few years back, and I just tried it again with the same<br>
        results, although admittedly this time under vmware.<br>
<br>
        Actually, I'm pretty mystified by the whole 'releasing for<br>
        Linux' process! To date, I've just kind of assumed that users<br>
        have the necessary apt-get's installed and left it up to the<br>
        user to deal with. Is this truly the 'linux' way?<br>
<br>
        Bye,<br>
        Mark<br>
<br>
<br>
<br>
    ______________________________<u></u>_________________<br>
    openal mailing list<br></div>
    <a href="mailto:openal@openal.org" target="_blank">openal@openal.org</a> <mailto:<a href="mailto:openal@openal.org" target="_blank">openal@openal.org</a>><br>
    <a href="http://openal.org/mailman/listinfo/openal" target="_blank">http://openal.org/mailman/<u></u>listinfo/openal</a><div class=""><br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
openal mailing list<br>
<a href="mailto:openal@openal.org" target="_blank">openal@openal.org</a><br>
<a href="http://openal.org/mailman/listinfo/openal" target="_blank">http://openal.org/mailman/<u></u>listinfo/openal</a><br>
<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
______________________________<u></u>_________________<br>
openal mailing list<br>
<a href="mailto:openal@openal.org" target="_blank">openal@openal.org</a><br>
<a href="http://openal.org/mailman/listinfo/openal" target="_blank">http://openal.org/mailman/<u></u>listinfo/openal</a><br>
</div></div></blockquote></div><br></div>