[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /usr/lib vs /usr/libexec



Martin Dickopp <martin@zero-based.org> writes:

>> It seems that Red Hat has a lot of programs under /usr/libexec that are 
>> under /usr/lib in Debian.  One example is /usr/lib/postfix 
>> vs /usr/libexec/postfix.
>>
>> It seems to me that /usr/libexec is a better name for such things,
>
> I disagree. Why is it important to distinguish between shared libraries
> and internal binaries (i.e. programs not supposed to be called directly
> by a user)?

lib is the place where ld searches for libraries.  Linking is not
speedy, and a non-trivial amount of the time is spent slogging through
/usr/lib looking for the libraries wanted.



Reply to: