public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Martin Cooper" <mac@macooper.com>
To: <gentoo-dev@gentoo.org>
Subject: Re: [gentoo-dev] Livecds
Date: Tue, 3 Dec 2002 23:25:15 -0000	[thread overview]
Message-ID: <033d01c29b23$3c7534b0$fd0010ac@voyager> (raw)
In-Reply-To: 20021203181844.7aee2764.gsfgf@softhome.net


----- Original Message -----
From: "Jeff Jeter" <gsfgf@softhome.net>
To: <gentoo-dev@gentoo.org>
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


  reply	other threads:[~2002-12-03 23:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-01 22:47 [gentoo-dev] Livecds Jeff Jeter
2002-12-02  2:30 ` daveman
2002-12-02  9:30   ` Toby Dickenson
2002-12-03  3:48     ` Jeff Jeter
2002-12-03 12:42       ` Paul de Vrieze
2002-12-03 23:18         ` Jeff Jeter
2002-12-03 23:25           ` Martin Cooper [this message]
2002-12-04  0:41             ` Jeff Jeter
2002-12-04  7:52               ` Martin Cooper
2002-12-04  8:35           ` Paul de Vrieze
2002-12-02  4:44 ` Daniel Robbins

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

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

  git send-email \
    --in-reply-to='033d01c29b23$3c7534b0$fd0010ac@voyager' \
    --to=mac@macooper.com \
    --cc=gentoo-dev@gentoo.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox