[Fakeroot-commits] [SCM] fakeroot branch, upstream, updated. 08ed00124d8b6b445d3b91a9aa15eec638b02f05

Clint Adams schizo at debian.org
Sun Nov 15 03:17:00 UTC 2009


The following commit has been merged in the upstream branch:
commit 659b6b9f0843c5117e8a302bbe50c8498ac3dd41
Author: Clint Adams <schizo at debian.org>
Date:   Thu Mar 10 21:10:02 2005 +0000

    fakeroot(1) environment var expansion
    
      * fakeroot.1: Include text by Justin Pryzby about LD_PRELOAD and
        LD_LIBRARY_PATH environment variables.  closes: #294655.
    
    git-archimport-id: fakeroot at packages.debian.org--fakeroot/fakeroot--main--0.0--patch-49

diff --git a/doc/fakeroot.1 b/doc/fakeroot.1
index e870d3f..83a1bd2 100644
--- a/doc/fakeroot.1
+++ b/doc/fakeroot.1
@@ -183,6 +183,23 @@ of a running daemon will automatically connect to that daemon, and
 have the same "fake" view of the file system's permissions/ownerships.
 (assuming the daemon and connecting program were started by the same
 user). 
+.B
+.IP LD_LIBRARY_PATH
+.B
+.IP LD_PRELOAD
+Fakeroot is implemented by wrapping system calls.  This is
+accomplished by setting LD_LIBRARY_PATH=/usr/lib/fakeroot and
+LD_PRELOAD=libfakeroot.so.0.  That library is loaded before the
+system's C library, and so most of the library functions are
+intercepted by it.  If you need to set either
+.B LD_LIBRARY_PATH
+or
+.B LD_PRELOAD
+from
+within a fakeroot environment, it should be set relative to the
+given paths, as in
+.B LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/foo/bar/
+
 .SH LIMITATIONS
 .B
 .IP "Library versions"

-- 
fakeroot



More information about the Fakeroot-commits mailing list