Sergey Ilyevsky wrote these words on 03/08/05 15:59 CST: > Is there any reason to give "--libdir=/lib" and after "make install" > moving libs to /usr/lib ? > Why not to give "--libdir=/usr/lib" ?
The login program is in /bin and it is linked to the shadow shared library, so the shared library must go in /lib in case /usr is not mounted. The .a static library is moved to /usr/lib and the .so symlink is created in /usr/lib to satisfy FHS requirements. It could be the other way around, using --libdir=/usr/lib, in fact that's how it used to be, but then you had to move the shadow shared lib to /lib manually. It was just changed recently to use --libdir. I don't know it really makes any difference. However, bottom line is that parts of the package will be in /usr/lib, other parts in /lib. -- Randy rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3] [GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686] 16:16:00 up 6 days, 2:20, 3 users, load average: 0.20, 0.06, 0.02 -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
