Re: dynamic ELF -> static executable?



In article
<Pine.LNX.4.62.0512260031270.24322@xxxxxxxxxxxxxxxxxxxxxxxx>,
molnard@xxxxxxxxxxxxxxxxx wrote:
> Is there a way to combinbe a dynamic ELF executable with the shared
> libraries it refers to into a static (and hence more portable) version of
> the executable? The linux loader does something quite similar but I could

How about putting the executable and all the libraries it needs in one
directory, and distributing that as a tarball. Have in there a simple
install script that can be run when the tarball is unpacked. This
script would create a little wrapper script to set up LD_LIBRARY_PATH
and then execs the executable.

--
--Tim Smith
.



Relevant Pages

  • Re: AJAX.NET and prototype.js
    ... The sentiment you espouse almost makes it seem like browser ... needlessly imposed an ongoing maintenance burden through poor script ... sufficiently general to accommodate the context in which you want to use ... So libraries do not offer the full position reporting facially, ...
    (comp.lang.javascript)
  • Re: Distributing applications that use 3rd party modules
    ... I'm getting into Python now after years of Perl, ... Imagine that you've written a script that uses several libraries, ... Create a distribution setup script in the same directory. ...
    (comp.lang.python)
  • Tcl application deployment
    ... Tcl interpretator and any packages it uses. ... As far as I know, no OS provides way to load dynamic libraries using ... There is no way to fix bugs in some package used by application, ... all script files which come with application should be ...
    (comp.lang.tcl)
  • Re: Forcing Specific Libraries to Load for a C Program
    ... and using a bash script (this is in Linux) to run any Java classes. ... I've tried to compile it to ... So is there any way to take this binary and the libraries it uses, ...
    (comp.os.linux)
  • Re: determining the location of a script on the server? Firefox bug wont let me
    ... so that I can dynamically src the other js files in the libraries ... don't know the URL of the next script. ... library (of several javascript files full of lots of fun code). ...
    (comp.lang.javascript)