Andreas Jaeger wrote:
> * Shared library policy
>   see: http://en.opensuse.org/Shared_Library_Packaging_Policy
> 
>   If nobody raises objections, we'll move forward with it and add it to
>   the packagers manual.
> 
>   Note: This is not enforced for existing packages.  It should be done
>   for major updates and must be done for new package submissions.
> 
>   AI: everybody to read and comment on opensuse-packaging mailing list.

Hi,

I miss somthing in the new package conventions. We should start to avoid
-rpath. Packages should be built without -rpath and if they need a
special path, a file in /etc/ld.so.conf.d/ should be created.

Google: "rpath is evil"

The solution to get the libraries working without rpath is the use of
ldconfig. Suppose you have the library /usr/lib/foo/foo.so.0. Then
simply create a file /etc/ld.so.conf.d/foo with the path (/usr/lib/foo)
as the content.


Cheers,


        -- andreas


-- 
http://www.cynapses.org/ - cybernetic synapses


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to