superfluous /usr/lib/*.so symbolic links

Greg Schafer gschafer at zip.com.au
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/{libshadow.so.0*,libmisc.so.0*} /lib &&
ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so &&
ln -sf ../../lib/libmisc.so.0 /usr/lib/libmisc.so

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 libbz2.so* /lib &&
ln -sf ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so &&
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

Greg
-- 
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