superfluous /usr/lib/*.so symbolic links

Greg Schafer gschafer at
Fri Sep 13 20:29:45 PDT 2002

On Fri, Sep 13, 2002 at 08:17:08PM -0700, Gerard Beekmans wrote:
> Okay how about this: can you send me your zlib, bzip2 and shadow
> instructions too? I'm sure they are of the same quality and may as well fix
> them up too. Saves me the time having to come up with the same stuff you
> already have.

Ok, here is my shadow:-

./configure --prefix=/usr --libdir=/usr/lib --enable-shared &&
make &&
make install &&
cp -f etc/{limits,login.access} /etc &&
sed 's%/var/spool/mail%/var/mail%' etc/login.defs.linux > /etc/login.defs &&
ln -sf vipw /usr/sbin/vigr &&
rm -f /bin/vipw &&
mv -f /bin/sg /usr/bin &&
mv -f /usr/lib/{*,*} /lib &&
ln -sf ../../lib/ /usr/lib/ &&
ln -sf ../../lib/ /usr/lib/

Just ignore all the -f's :-)

And here is my bzip:-

make -f Makefile-libbz2_so &&
make &&
rm -f /usr/bin/bz* /bin/bz* &&
make install &&
cp -f bzip2-shared /bin/bzip2 &&
cp -af* /lib &&
ln -sf ../../lib/ /usr/lib/ &&
rm -f /usr/bin/{bunzip2,bzcat,bzip2} &&
mv -f /usr/bin/{bzip2recover,bzless,bzmore} /bin &&
ln -sf bzip2 /bin/bunzip2 &&
ln -sf bzip2 /bin/bzcat

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

More information about the lfs-dev mailing list