On Tue, May 31, 2011 at 05:05:55PM -0400, Eric Furman wrote:

> And what do you do when you are not in charge of the box you
> need your script to run on?

You write a script that uses a statically compiled
binary, the one you need. There is a tool to create
a .sh script that will contain the binary and your
script. If I remember correctly, that's how Star Office
installed itself : the .sh extracted what was required
and runned. The tool to create such .sh scripts that
contains binaries can then be used.

Your script will extract locally the binary
(make sure where it is somewhere it can run)
and then run, using the statically compiled
binary.

Not pretty but the binary can be updated with
the script and your script will be a little fat
in size :-)

-- 
Gilbert Fernandes

Reply via email to