superfluous /usr/lib/*.so symbolic links

Greg Schafer gschafer at
Fri Sep 13 20:07:53 PDT 2002

On Fri, Sep 13, 2002 at 10:55:00PM -0400, Gerard Beekmans wrote:
> On September 13, 2002 10:36 pm, Gerard Beekmans wrote:
> > Hm good point you're right. Okay let me fix it up then.
> So, what we wanted originally is remove all the *.so files from /lib and only 
> have them in /usr/lib while leaving the .so.5 files in /lib
> I'm going to change ncurses to add these lines (somewhat similar to the ones 
> that orignally where there):
> rm /lib/ && ln -s ../../lib/ \
> 	/usr/lib/ 
> rm /lib/ && ln -s /usr/lib/ 
> rm /lib/ && ln -s ../../lib/ /usr/lib/ 
> rm /lib/ && ln -s ../../lib/ /usr/lib/ 
> rm /lib/ && ln -s ../../lib/ /usr/lib/ 

That should work ok, but it's still not exactly the cleanest result, but
not to worry at this late stage, just as long as it works :)

FWIW, here is what I'm currently using:-

./configure --prefix=/usr --with-shared &&
make &&
make install &&
chmod 755 /usr/lib/*.5.2 &&
mv /usr/lib/* /lib &&
ln -s libncurses.a /usr/lib/libcurses.a &&
ln -s ../../lib/ /usr/lib/ &&
ln -s ../../lib/ /usr/lib/

This way, everything we need is in /usr/lib except for:-

which end up in /lib

Works for me.

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