unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Mark Seaborn <mseaborn@onetel.com>
Subject: Re: "/lib/ld-linux.so.2 /usr/bin/emacs" fails: "Memory exhausted"
Date: Tue, 15 Nov 2005 00:34:54 +0000 (GMT)	[thread overview]
Message-ID: <20051115.003454.596518397.mrs@localhost> (raw)
In-Reply-To: <E1EbOsA-0000pe-F3@fencepost.gnu.org>

"Richard M. Stallman" <rms@gnu.org> wrote:

> I don't know anything about what's happening here; I am not sure
> what ld-linux.so.2 does in the first place, or whether that ought
> to work, or what it ought to do.

ld-linux.so.2 is the dynamic linker on GNU/Linux:

  $ /lib/ld-linux.so.2 
  Usage: ld.so [OPTION]... EXECUTABLE-FILE [ARGS-FOR-PROGRAM...]
  You have invoked `ld.so', the helper program for shared library executables.
  This program usually lives in the file `/lib/ld.so', and special directives
  in executable files using ELF shared libraries tell the system's program
  loader to load the helper program from this file.  This helper program loads
  the shared libraries needed by the program executable, prepares the program
  to run, and runs it.  You may invoke this helper program directly from the
  command line to load and run an ELF executable file; this is like executing
  that file itself, but always uses this helper program from the file you
  specified, instead of the helper program file specified in the executable
  file you run.  This is mostly of use for maintainers to test new versions
  of this helper program; chances are you did not intend to run this program.
  
    --list                list all dependencies and how they are resolved
    --verify              verify that given object really is a dynamically linked
                          object we can handle
    --library-path PATH   use given PATH instead of content of the environment
                          variable LD_LIBRARY_PATH
    --inhibit-rpath LIST  ignore RUNPATH and RPATH information in object names
                          in LIST

Plash uses a modified version of the dynamic linker, so it launches
programs by invoking ld-linux.so.2 directly.  It also does this as a
technique for exec()'ing an executable from a chroot() jail without
the executable having to be inside the jail.

Mark

  reply	other threads:[~2005-11-15  0:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-11 19:57 "/lib/ld-linux.so.2 /usr/bin/emacs" fails: "Memory exhausted" Mark Seaborn
2005-11-13 20:54 ` Richard M. Stallman
2005-11-15  0:34   ` Mark Seaborn [this message]
     [not found] <mailman.14913.1131738962.20277.bug-gnu-emacs@gnu.org>
2005-11-11 23:47 ` Romain Francoise
2005-11-14 13:38   ` Mark Seaborn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051115.003454.596518397.mrs@localhost \
    --to=mseaborn@onetel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).