Re: rpmlint warnings/errors

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

 



Michael Schwendt wrote:
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.


I didn't follow the complete thread so I'm not sure if this is relevant but in smartcard land the ctapi is especially designed to be dlopened and to be dlopened by just xxxx.so. See the ctapi-cyberjack review:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=188369

For more on this and on how we solved this in a clean way, which should be followed by other ctapi implementations too.

Regards,

Hans


--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux