From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31780 invoked by uid 1002); 4 Dec 2002 00:36:14 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 31771 invoked from network); 4 Dec 2002 00:36:14 -0000 Date: Tue, 3 Dec 2002 19:41:30 -0500 From: Jeff Jeter To: gentoo-dev@gentoo.org Message-Id: <20021203194130.19d2eb73.gsfgf@softhome.net> In-Reply-To: <033d01c29b23$3c7534b0$fd0010ac@voyager> References: <20021201174741.4a663a15.gsfgf@softhome.net> <200212020930.58403.tdickenson@devmail.geminidataloggers.co.uk> <20021202224813.00959cb4.gsfgf@softhome.net> <200212031342.32675.gentoo-user@devrieze.net> <20021203181844.7aee2764.gsfgf@softhome.net> <033d01c29b23$3c7534b0$fd0010ac@voyager> X-Mailer: Sylpheed version 0.8.5 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [gentoo-dev] Livecds X-Archives-Salt: 398f51bb-d676-485d-866b-3aee9dd5820c X-Archives-Hash: 6836cbe7e01dac9aa2bc6e8df50bb901 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. I copied the required files (only 2) and burned the cd. # pci-setup # net-setup eth0 # smbd -D; nmbd -D no samba. no errors, but no shares accessable to the outside world, and no smbd or nmbd listed w/ ps -aux. Tips? On Tue, 3 Dec 2002 23:25:15 -0000 "Martin Cooper" wrote: > > ----- Original Message ----- > From: "Jeff Jeter" > To: > Sent: Tuesday, December 03, 2002 11:18 PM > Subject: Re: [gentoo-dev] Livecds > > > > Ok, i set ROOT to the image dir. However emerge -p samba needs basicall > the entire system package. This doesn't look like the best. Is ther a way > to find what specific libs samba needs and copy those over. I can chroot > and go through every needed lib until smbd starts, but i was wondering if > ther's a more eficiant way. > > Howabout using ldd ? So for example, ldd on smbd and nmbd gives :- > > root:sbin # ldd smbd > libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x4001c000) > libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x4004b000) > libcups.so.2 => /usr/lib/libcups.so.2 (0x40115000) > libnsl.so.1 => /lib/libnsl.so.1 (0x40130000) > libpam.so.0 => /lib/libpam.so.0 (0x40145000) > libc.so.6 => /lib/libc.so.6 (0x4014d000) > libdl.so.2 => /lib/libdl.so.2 (0x4026b000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) > root:sbin # ldd nmbd > libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x4001c000) > libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x4004b000) > libcups.so.2 => /usr/lib/libcups.so.2 (0x40115000) > libnsl.so.1 => /lib/libnsl.so.1 (0x40130000) > libpam.so.0 => /lib/libpam.so.0 (0x40145000) > libc.so.6 => /lib/libc.so.6 (0x4014d000) > libdl.so.2 => /lib/libdl.so.2 (0x4026b000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) > > These are the libraries used by samba on my system > > Martin > > > > -- > gentoo-dev@gentoo.org mailing list > -- gentoo-dev@gentoo.org mailing list