My solution for my static bash and glibc-2.3.1

Florian FERNANDEZ Florian.Fernandez2 at wanadoo.fr
Thu Oct 17 06:59:31 PDT 2002


Ok no probllem.

Sorry for my later response :) !

Build all packages as described in the chapter 5.

The enter chapter 6 and build makedev, linux-2.4.19, man-pages and glibc-2.3.1 (without patch) but dont exec the last command (/static/bin/bash --login).

Now you should rename /lib/libnss_compat.2.3.1.so to /lib/libnss_compat.2.3.1.so- and /lib/libnss_files.2.3.1.so to /lib/libnss_files.2.3.1.so-.

Ok, you're ready to compile fileutils packages (because we're going to rebuild bash and it need "ls-l" wich have a segmentation error too):

./configure --prefix=/usr --bindir=/bin &&
make &&
make install &&
ln -s ../../bin/install /usr/bin

and bash:

./configure --prefix=/usr --bindir=/bin &&
make &&
make install

Now you can try this command:

exec /bin/bash --login

then you can renamed /lib/libnss_compat.2.3.1.so- and /lib/libnss_files.2.3.1.so- to their first name:

mv /lib/libnss_compat.2.3.1.so- /lib/libnss_compat.2.3.1.so
mv /lib/libnss_files.2.3.1.so- /lib/libnss_files.2.3.1.so

You can execute /bin/bash --login.

it's ok for you ?

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list