shared library
Hi
it seems that certain library are not implemented in the Uclibc because I've built a uclibc build environment and certain services like dhcp need libraries like libnss_dns and this library can not be loaded because it doesn't exist so can any body tell me what to do ? the steps that I've done are listed bellow: 1-Â* mkdir -p /root/uclibc/build 2-Â* cd /root/uclibc/build 3-Â* tar -jxvfp /path/to/stage3....tar.bz2Â*Â*Â* // ( uclibc stage3 ) 4-Â* cp -L /etc/resolv.conf /root/uclibc/build/etc 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" Â*UCLIBC_CPU="PENTIUMII Â* ln -snf /usr/portage/profiles/uclibc/x86Â*Â* /etc/make.profile 12- Â* emerge -av ccache 13- Â* emerge -uavDN world 14-Â*Â*Â* emerge -C mktemp 15- Â* cp /etc/skel/.bash_profile /etc/skel/.bashrc /root 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 -- Abdolmohaimen Alsiddig Ahmed Nile Center for Technology Researches +249924205886 |
shared library
you already have one thread going, please do not start another
-mike |
| All times are GMT. The time now is 08:30 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.