<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTOURBUG - Games hang / freeze completely"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99055#c17">Comment # 17</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTOURBUG - Games hang / freeze completely"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99055">bug 99055</a>
from <span class="vcard"><a class="email" href="mailto:eero.t.tamminen@intel.com" title="Eero Tamminen <eero.t.tamminen@intel.com>"> <span class="fn">Eero Tamminen</span></a>
</span></b>
<pre>(In reply to Kenneth Graunke from <a href="show_bug.cgi?id=99055#c15">comment #15</a>)
<span class="quote">> Renaming the binaries or editing scripts installed with the game is liable
> to break when new updates for the game comes out, because Steam will
> overwrite those changes.</span >
Only very few (if any) games include their own libstdc++, so the main issue is
one included with Steam's Ubuntu 12.04 snapshot. Does that get (ever) updated?
<span class="quote">> (In reply to Eero Tamminen from <a href="show_bug.cgi?id=99055#c14">comment #14</a>)
> > It's harder to guarantee that the environment variable gets always passed to
> > the game, better just to rename the offending binary to be sure.
>
> It's really easy, actually, you just right click on the game in Steam, hit
> properties, click the [Set Launch Options...] and enter
>
> LD_PRELOAD='/usr/$LIB/libstdc++.so.6':$LD_PRELOAD %command%
>
> (or whatever you want before/after %command%)</span >
With people having more games, editing launch options for every one of them
would be really tedious.
(In reply to Michel Dänzer from <a href="show_bug.cgi?id=99055#c16">comment #16</a>)
<span class="quote">> Setting LD_PRELOAD when launching Steam has worked for every game I've tried
> so far. YMMV.</span >
Good to know. In general, it would get lost if there's any suid binary or
something sets LD_PRELOAD, but those would be really ugly things to do in
release versions.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>