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

Re: what are shared libs and what are not ...



On Wed, Mar 07, 2001 at 06:14:08PM +0100, Othmar Pasteka wrote:
> hi,
> 
> while packaging modlogan i have to use overrides because modlogan
> uses shared objects for its plugin system which are not shared
> libs. but since there has to be a shlibs file for shared objects
> under /usr/lib i get lots of lintian errors, i.e. policy
> violations.

Plugins should not go in /usr/lib/., but should go in a subdirectory of
/usr/lib.

For example, PAM uses /lib/security/ and apache uses /usr/lib/apache/

Do that, and lintian shouldn't complain. The problem here is that you
are leaving these modules/plugins out at the will of the dynamic linker.
Leaving them in /usr/lib/ makes ldconfig parse them, fills the
ld.so.cache with useless libs, and thus adds overhead to the system's
dynamic loader.

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: