Readline links

Bruce Dubbs bdubbs at swbell.net
Wed Jun 23 21:09:50 PDT 2004


 From lfs6, I am getting a warning when running ldconfig.

The warning complains that libreadline-4.3 and libhistory-4.3 are not 
symbolic links.  The book has:

mv /usr/lib/lib{readline,history}.so.4* /lib
ln -sf ../../lib/libhistory.so.4 /usr/lib/libhistory.so
ln -sf ../../lib/libreadline.so.4 /usr/lib/libreadline.so


What I did to make the warning go away is:

mv /usr/lib/libreadline.so.4.3 /lib/libreadline.so
mv /usr/lib/libhistory.so.4.3  /lib/libhistory.so
ch /lib
ln -s libhistory.so.4 libhistory.so.4
ln -s libhistory.so.4.3 libhistory.so.4
ln -s libreadline.so.4 libhistory.so.4
ln -s libreadline.so.4.3 libhistory.so.4
ln -s ../../lib/libhistory.so /usr/lib/libhistory.so
ln -s ../../lib/libreadline.so /usr/lib/libreadline.so

I'm not sure all the links are necessary, but lib{readline,history}.so 
should not be links.

  -- Bruce




More information about the lfs-dev mailing list