Bruce Dubbs wrote:
> LFS Trac wrote:
> 
>>  Err,whoops, I meant:
>>
>>  I'm just wondering why you moved to .so file to /lib along with the
>>  others.
> 
> So a program like tar that may be looking for zlib.so can find it if 
> /usr is a separate partition and not mounted.

A program like tar will *never* look for zlib.so. It will look for
what the dynamic linker says to look for in its cache. In this case:

r...@rmlinux: /home/randy > ldconfig -v |grep libz
         libz.so.1 -> libz.so.1.2.3

.so files and .a files do not belong in /lib. They are only used at
compile time. And one shouldn't be compiling programs if /usr is
not mounted.

The .so file belongs in /usr/lib.

-- 
Randy

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to