hello
I am trying to run dhcp server under uclibc environment, the package dhcp merges successfully but when I try to start the service ( /etc/init.d/dhcp start ) it tells me that the shared library libnss_dns.so can not be loaded. I investigate the mater and find that the following shared library can not be built : ( libnss_dns, libresolv.so, libc.so, and ld.so ) please tell me what to do to get these shared library into my system
best regards
A.mohaimen
02-10-2009, 01:14 PM
Karl Hiramoto
libnss_dns.so
Abdolmohaimen Siddig wrote:
> hello
> I am trying to run dhcp server under uclibc environment, the package
> dhcp merges successfully but when I try to start the service (
> /etc/init.d/dhcp start ) it tells me that the shared library
> libnss_dns.so can not be loaded. I investigate the mater and find that
> the following shared library can not be built : ( libnss_dns,
> libresolv.so, libc.so, and ld.so ) please tell me what to do to get
> these shared library into my system
>
> best regards
> A.mohaimen
Those should be uclibc libs.. You don't have uclibc installed on your
target.
02-10-2009, 01:15 PM
Peter Stuge
libnss_dns.so
Abdolmohaimen Siddig wrote:
> the following shared library can not be built :
> ( libnss_dns, libresolv.so, libc.so, and ld.so )
> please tell me what to do to get these shared library into my system
That is completely impossible without more information. If you can
provide more information about the failed build maybe we can help.
//Peter
02-10-2009, 01:51 PM
Abdolmohaimen Siddig
libnss_dns.so
I merged uclibc but I think that certain flags should be in my USE flag . would you please tell me what flags should be enabled
best regards
On Tue, Feb 10, 2009 at 5:14 PM, Karl Hiramoto <karl@hiramoto.org> wrote:
Abdolmohaimen Siddig wrote:
> hello
> I am trying to run dhcp server under uclibc environment, the package
> dhcp merges successfully but when I try to start the service (
> /etc/init.d/dhcp start ) it tells me that the shared library
> libnss_dns.so can not be loaded. I investigate the mater and find that
> the following shared library can not be built : ( libnss_dns,
> libresolv.so, libc.so, and ld.so ) please tell me what to do to get
> these shared library into my system
>
> best regards
> A.mohaimen
Those should be uclibc libs.. *You don't have uclibc installed on your
target.
--
Abdolmohaimen Alsiddig Ahmed
Nile Center for Technology Researches
+249924205886
02-10-2009, 02:09 PM
Karl Hiramoto
libnss_dns.so
Abdolmohaimen Siddig wrote:
> I merged uclibc but I think that certain flags should be in my USE
> flag . would you please tell me what flags should be enabled
As said earlier, you should send details on all the steps you are
doing.. I assume your cross compiling?
read again
http://www.gentoo.org/proj/en/base/embedded/handbook/
5-Â* mkdir -p usr/portage
6- Â* mount --bind /usr/portage Â*Â* /root/uclibc/build/usr/portage
7-Â*Â* mount –bind /dev /root/uclibc/build/dev
8-Â* mount -t proc proc /root/uclibc/build/proc
9-Â*Â* chroot /root/uclibc/build /bin/bash
10- Â* env-update && source /etc/profile
11-Â* in the make.conf I added the following variables
Â*Â*Â*
FEATURES="ccache buildpkg"
USE="minimal"
PKGDIR="${PORTDIR}/packages/uclibc"
The above steps were done for preparing the uclibc build environment knowing that the stage I have used was uclibc stage3
then I have unmasked some packages that will be used in building my system ( tinygentoo) that will be installed in a compact flash
the steps then are as follows:
1- Â* mkdir /tinygentoo
2- ROOT=/tinygentoo USE=symlink emerge -avk =sys-apps/baselayout-2.0.0 uclibc busybox
then i did all the required symbolic links to busybox and all preparations including the proc and /etc/fstab and then compiled the kernel and made the initramfs , the system in the compact flash work successfully and then I have added many packages like iptables, python and twisted web server and all have worked successfully. the problem arises when i installed dhcp, it can not work neither in the build environment nor in the tinygentoo knowing that my USE flag when I merged uclibc was ( USE="minimal -build -debug -hardened (-iconv) -ipv6 (-nls) -pregen -saveconfig -uclibc-compat -userlocales -wordexp )
Thanks very much for reading and replying
On Tue, Feb 10, 2009 at 6:09 PM, Karl Hiramoto <karl@hiramoto.org> wrote:
Abdolmohaimen Siddig wrote:
> I merged uclibc but I think that certain flags should be in my USE
> flag . would you please tell me what flags should be enabled
As said earlier, Â*you should send details on all the steps you are
--
Abdolmohaimen Alsiddig Ahmed
Nile Center for Technology Researches
+249924205886
02-11-2009, 04:16 PM
Peter Stuge
libnss_dns.so
Abdolmohaimen Siddig wrote:
> The problem arises when i installed dhcp, it can not work neither in
> the build environment nor in the tinygentoo
Do you need the DHCP server or client?
Either way, you may want to look into udhcp, which may now actually
be included in busybox. And another DHCP client is dhcpcd, it's what
I like to use.
//Peter
Wed Feb 11 19:30:02 2009
Return-path: <bounce-debian-user=tom=linux-archive.org@lists.debian.org>
Envelope-to: tom@linux-archive.org
Delivery-date: Wed, 11 Feb 2009 19:12:51 +0200
Received: from liszt.debian.org ([82.195.75.100]:50845)
by s2.java-tips.org with esmtps (TLSv1:AES256-SHA:256)
(Exim 4.69)
(envelope-from <bounce-debian-user=tom=linux-archive.org@lists.debian.org>)
id 1LXIdn-0003cs-IM
for tom@linux-archive.org; Wed, 11 Feb 2009 19:12:51 +0200
Received: from localhost (localhost [127.0.0.1])
by liszt.debian.org (Postfix) with QMQP
id BA4A92D0B84; Wed, 11 Feb 2009 17:16:52 +0000 (UTC)
Old-Return-Path: <gpall@ccf.auth.gr>
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on liszt.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-8.0 required=4.0 tests=LDOSUBSCRIBER,LDO_WHITELIST,
URIEXE autolearn=failed version=3.2.3
X-Original-To: lists-debian-user@liszt.debian.org
Delivered-To: lists-debian-user@liszt.debian.org
Received: from localhost (localhost [127.0.0.1])
by liszt.debian.org (Postfix) with ESMTP id 3A9FC13A566C
for <lists-debian-user@liszt.debian.org>; Wed, 11 Feb 2009 17:16:46 +0000 (UTC)
Received: from liszt.debian.org ([127.0.0.1])
by localhost (lists.debian.org [127.0.0.1]) (amavisd-new, port 2525)
with ESMTP id 24982-87 for <lists-debian-user@liszt.debian.org>;
Wed, 11 Feb 2009 17:16:43 +0000 (UTC)
X-policyd-weight: DYN_NJABL=ERR NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .auth. - helo: .proteus.ccf.auth. - helo-domain: .auth.) FROM/MX_MATCHES_HELO(DOMAIN)=-2 <client=155.207.112.94> <helo=proteus.ccf.auth.gr> <from=gpall@ccf.auth.gr> <to=debian-user@lists.debian.org>, rate: -7
Received: from proteus.ccf.auth.gr (proteus.ccf.auth.gr [155.207.112.94])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "smtp.ccf.auth.gr", Issuer "AUTH Network Operations Center Certification Authority 2008" (not verified))
by liszt.debian.org (Postfix) with ESMTP id 174CC13A563D
for <debian-user@lists.debian.org>; Wed, 11 Feb 2009 17:16:33 +0000 (UTC)
Received: from [192.168.1.200] (adsl92-243.lsf.forthnet.gr [79.103.219.243])
(authenticated bits=0)
by proteus.ccf.auth.gr (8.14.3/8.14.3) with ESMTP id n1BHGIGQ005951
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
Wed, 11 Feb 2009 19:16:19 +0200
Message-ID: <499307E2.5090803@ccf.auth.gr>
Date: Wed, 11 Feb 2009 19:16:18 +0200
From: =?UTF-8?B?zpPOuc+Oz4HOs86/z4IgzqDOrM67zrvOsc+C?=
<gpall@ccf.auth.gr>
User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)
MIME-Version: 1.0
To: Nagy Daniel <n.dani86@gmail.com>
CC: debian-user@lists.debian.org
Subject: Re: Grep for colums?
References: <cfadd7e70902110309u58712ee6raf4caedb82d5a097@mail .gmail.com> <4992B2E1.40407@ccf.auth.gr> <cfadd7e70902110326l11d496avcecab6bc95eb5473@mail. gmail.com>
In-Reply-To: <cfadd7e70902110326l11d496avcecab6bc95eb5473@mail. gmail.com>
X-Enigmail-Version: 0.95.0
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms090700000904010804070004"
X-Virus-Scanned: ClamAV 0.94.2/8979/Wed Feb 11 14:23:15 2009 on artemis.ccf.auth.gr
X-Virus-Status: Clean
X-Virus-Scanned: at lists.debian.org with policy bank en-ht
X-Amavis-Spam-Status: No, score=-4 tagged_above=3.6 required=5.3 tests=[BAYES_00=-2,
LDO_WHITELIST=-5, URIEXE=3]
X-Rc-Virus: 2007-09-13_01
X-Rc-Spam: 2008-11-04_01
Resent-Message-ID: <T83vok53L2I.A.ZjH.EgwkJB@liszt>
Resent-From: debian-user@lists.debian.org
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/541398
X-Loop: debian-user@lists.debian.org
List-Id: <debian-user.lists.debian.org>
List-Post: <mailto:debian-user@lists.debian.org>
List-Help: <mailto:debian-user-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-user-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-user-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-user-request@lists.debian.org
Resent-Date: Wed, 11 Feb 2009 17:16:52 +0000 (UTC)
This is a cryptographically signed message in MIME format.
Nagy Daniel wrote:
>
> the "text" is here:
>
> http://pastebin.com/f37214a30
>
> and I only want this string:
>
> http://downloads.sourceforge.net/portableapps/nvu_portable_1.0_rev_5_en-us.paf.exe?download
>
> so I want to search like:
> | grep downloads.sourceforge.net <http://downloads.sourceforge.net> |
> grep nvu
> but the text isn't separated with enters, and I want to search in
> columns, not in rows :S
>
So, its an one liner. Suppose your text is inside file 'datext'.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
02-11-2009, 04:53 PM
Abdolmohaimen Siddig
libnss_dns.so
I need to install dhcp server. if it is exist some where in busybox or other please tell me how to configure it . or otherwise how the problem of shared library can be solved
On Wed, Feb 11, 2009 at 9:16 AM, Peter Stuge <peter@stuge.se> wrote:
Abdolmohaimen Siddig wrote:
> The problem arises when i installed dhcp, it can not work neither in
> the build environment nor in the tinygentoo
Do you need the DHCP server or client?
Either way, you may want to look into udhcp, which may now actually
be included in busybox. And another DHCP client is dhcpcd, it's what
I like to use.
//Peter
--
Abdolmohaimen Alsiddig Ahmed
Nile Center for Technology Researches
+249924205886
02-11-2009, 05:52 PM
Mike Frysinger
libnss_dns.so
On Wednesday 11 February 2009 12:53:48 Abdolmohaimen Siddig wrote:
> I need to install dhcp server. if it is exist some where in busybox or
> other please tell me how to configure it . or otherwise how the problem of
> shared library can be solved
the uClibc package itself provides the C library, resolver, etc... if you
dont have that package installed, then you wont have any system libraries.
the libnss_dns.so is a glibc-specific library. either dhcp itself was not
compiled properly, or it refers directly to the library. most likely the
issue is the former rather than the latter.
run `emerge dhcp` *inside of the chroot* and make sure that it works there
before trying to transition over to the /tinygentoo. also, the /tinygentoo
step has to be performed inside of the chroot, not outside of it.
-mike