[mdlug] Steam on Linux
Adam Behnke
abehnke at gmail.com
Tue Dec 11 02:56:05 EST 2012
ok, I launch via the launcher and it cleared up the libstream.so error.
i then went back to ternimal and ran steam, the result is attached.
On Tue, Dec 11, 2012 at 2:42 AM, Adam Behnke <abehnke at gmail.com> wrote:
> ugh, ok, so now i will ask for help, lol.
>
> system:
> ubuntu studio 12.04 x64
> radeon hd 5700 graphics card
> system fully updated via repositories except the video driver (which i just did)
>
> i just installed the most recent stable driver for my radeon hd 5700
> graphics card from the amd/ati website (there is a beta driver, it may
> be my next step).
>
> see the screenshot of my error (shrunk down)
>
> i'm following a work around, but maybe i'm just not understanding it.
> http://steamcommunity.com/app/221410/discussions/0/846938351012409765/
>
> i've placed the strstr.c file in $me/.steam/bin
> i then ran in terminal the gcc command (having cd /.steam/bin first)
> i created the hl2debug, and set the export to $HOME/.steam/bin/strstr.so
> chmod +x hl2debug
> gedit /etc/bin.bashrc and added
>
> [code]
> #steam debugger
> export PATH=$HOME/.steam/bin:$PATH
> export GAME_DEBUGGER="hl2debug"
> [/code]
>
>
> i'm reading the next step and asking myself, "what does that even mean?"
>
> "Either log out/back in if you want to launch steam with the menu
> option, or just get the variable into your environment (`source
> ~/.bashrc`) and launch steam from the terminal."
>
>
> having done srcds before, i changed the desktop launcher to
> (/usr/bin/steam %U 'source ~/.bashrc') with no success.
>
> i just tried source ~/.bashrc in terminal and then steam, but now i
> get an fatal error stating "failed to load libstream.so"
>
>
>
> On Tue, Dec 11, 2012 at 12:59 AM, Paul <set.mailinglist at gmail.com> wrote:
>> "Carl T. Miller" <carl at carltm.com>, on Mon 2012.12.10 said:
>>> Does anyone else think this statement is odd?
>>>
>>> (`source ~/.bashrc`)
>>>
>>> The () means to launch a subshell for `source ~/.bashrc`, and the
>>> `` means launch a subshell to run the output of source ~/.bashrc.
>>> The source command means to run the following command in the current
>>> shell. Sooo...that command will do nothing, even though it appears
>>> to want to load environmental variables and/or aliases in the current
>>> shell.
>>>
>>
>> Hi;
>>
>> The link he gave building a library to override a function
>> in the game, to compensate for missing functionality via a wrapper
>> script using LD_PRELOAD.
>> The reference to .bashrc was just to set some environmental
>> variables, so that Steam will know to use this wrapper as a debugger
>> launcher. So the () were textually parenthetic, not shell.
>> Adam, there are 3 steps to that work-around.
>>
>> 1) build a library from the C source code listing
>> 2) create a wrapper script to use it
>> 3) set 2 env variables in your ~/.bashrc
>>
>> Normally when you log in, certain files are referenced by
>> your shell. When the article says 'source ~/.bashrc`, they mean
>> to manually reference it, if you do not want to log in/out.
>>
>> Let us know what parts of the steps above you feel may
>> be giving your trouble.
>>
>> Paul
>> _______________________________________________
>> mdlug mailing list
>> mdlug at mdlug.org
>> http://mdlug.org/mailman/listinfo/mdlug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: steam_terminal
Type: application/octet-stream
Size: 6160 bytes
Desc: not available
URL: <http://mdlug.org/pipermail/mdlug/attachments/20121211/e9ab580a/attachment-0001.obj>
More information about the mdlug
mailing list