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

Re: rpmlint warnings/errors



On Wed, 7 Jun 2006 07:58:33 -0500, Daniel H Jones wrote:

> There is a versioned .so file, however, applications that use this package
> often perform a dlopen(libopencryptoki.so, ...) at runtime. Removing this
> link from the base package would cause problems for those applications
> (or force the installer to create the symlinks themselves).

No application should ever dlopen the non-versioned .so at run-time. If it
does, it needs to be patched. An application is built for a specific
API/ABI and must not expect an arbitrary .so to be the right one.

> DHJ> W: opencryptoki devel-file-in-non-devel-package
> DHJ> /usr/lib/libopencryptoki.so

Also note that ldconfig creates a symbolic link from *.so to the most
recent versioned *.so.X, which would break such an application badly when
multiple versions are installed.


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