File: INSTALL

package info (click to toggle)
fakeroot 1.14.4-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,000 kB
  • ctags: 565
  • sloc: sh: 10,485; ansic: 3,538; makefile: 290; perl: 14
file content (53 lines) | stat: -rw-r--r-- 1,363 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
fakeroot can now be compiled to use either System V semaphores and
message queues or TCP for inter-process communication.

SysV IPC is the default; to build for TCP, run configure with
--with-ipc=tcp (case-sensitive).

Platform-specific notes:

FreeBSD:

  To compile --with-ipc=tcp and gcc, make sure the -pthread flag
  is used.

Solaris:

  Replace all "#!/bin/sh" lines with "#!/usr/xpg4/bin/sh"

###################################################################
(old stuff)

Well, just do a

./configure
make


But due to a bug in the dynamic linker from GNU libc2.0
and Solaris (5.6, I believe), on those systems DON'T do
a 'make install', as that will put libtricks.so.0.0.1
in /usr/lib/, thus allowing (on those systems) interesting
things like
  LD_PRELOAD=libtricks.so.0.0.1 /bin/su
and now su _is_using_ libtricks! (thus making root breakins
trivial).

The dynamic linker bug doesn't apear to be present in OSF1 (1.3),
and I've been told it's been fixed in GNU libc 2.1.


On the affected systems, it's safer to just copy the shared libraries
to a special directory, like /usr/lib/libtricks/*


Notes on OSF1 1.3:
...

Notes on SunOs 5.6 (Solaris):
 The awk that comes with Solaris apparently doesn't cut it. Use GNU awk instead.
 Apart from that, libtool doesn't seem to be quite ready for SunOs 5.6 yet.
 (It just doesn't work).

joost witteveen.