Gentoo Archives: gentoo-dev

From: Jeff Jeter <gsfgf@××××××××.net>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Livecds
Date: Wed, 04 Dec 2002 00:36:14
Message-Id: 20021203194130.19d2eb73.gsfgf@softhome.net
In Reply to: Re: [gentoo-dev] Livecds by Martin Cooper
1 I manually copied the necessary deps since merge samba w/ ROOT pointing to the livecd dir needed almoast the entire system package as deps. Too much, imo.
2 I copied the required files (only 2) and burned the cd.
3
4 # pci-setup
5 # net-setup eth0
6 # smbd -D; nmbd -D
7 no samba. no errors, but no shares accessable to the outside world, and no smbd or nmbd listed w/ ps -aux.
8
9 Tips?
10
11 On Tue, 3 Dec 2002 23:25:15 -0000
12 "Martin Cooper" <mac@××××××××.com> wrote:
13
14 >
15 > ----- Original Message -----
16 > From: "Jeff Jeter" <gsfgf@××××××××.net>
17 > To: <gentoo-dev@g.o>
18 > Sent: Tuesday, December 03, 2002 11:18 PM
19 > Subject: Re: [gentoo-dev] Livecds
20 >
21 >
22 > > Ok, i set ROOT to the image dir. However emerge -p samba needs basicall
23 > the entire system package. This doesn't look like the best. Is ther a way
24 > to find what specific libs samba needs and copy those over. I can chroot
25 > and go through every needed lib until smbd starts, but i was wondering if
26 > ther's a more eficiant way.
27 >
28 > Howabout using ldd ? So for example, ldd on smbd and nmbd gives :-
29 >
30 > root:sbin # ldd smbd
31 > libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x4001c000)
32 > libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x4004b000)
33 > libcups.so.2 => /usr/lib/libcups.so.2 (0x40115000)
34 > libnsl.so.1 => /lib/libnsl.so.1 (0x40130000)
35 > libpam.so.0 => /lib/libpam.so.0 (0x40145000)
36 > libc.so.6 => /lib/libc.so.6 (0x4014d000)
37 > libdl.so.2 => /lib/libdl.so.2 (0x4026b000)
38 > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
39 > root:sbin # ldd nmbd
40 > libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x4001c000)
41 > libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x4004b000)
42 > libcups.so.2 => /usr/lib/libcups.so.2 (0x40115000)
43 > libnsl.so.1 => /lib/libnsl.so.1 (0x40130000)
44 > libpam.so.0 => /lib/libpam.so.0 (0x40145000)
45 > libc.so.6 => /lib/libc.so.6 (0x4014d000)
46 > libdl.so.2 => /lib/libdl.so.2 (0x4026b000)
47 > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
48 >
49 > These are the libraries used by samba on my system
50 >
51 > Martin
52 >
53 >
54 >
55 > --
56 > gentoo-dev@g.o mailing list
57 >
58
59 --
60 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Livecds Martin Cooper <mac@××××××××.com>