On Tue, Feb 01, 2005 at 05:49:49PM +0100, Daniel Baumann wrote: > "Policy says that static version should be non-PIC version and > that if you need a static PIC version you should name it that > way." > > can you give me a hint where this is written, and how to fix it?
>From the policy: 10.2. Libraries --------------- The shared version of a library must be compiled with `-fPIC', and the static version must not be. In other words, each source unit (`*.c', for example, for C files) will need to be compiled twice. Also http://release.debian.org/sarge_rc_policy.txt says: (f) Libraries Shared libraries must be compiled with -fPIC, and normally static libraries must not be. If you need to provide static libraries compiled with -fPIC, call it "<libname>_pic.a". What I *think* is the proper solution to fix this problem is to have symbol versioning in glib and then link to the shared version again. See bugs.debian.org/264400 for a wishlist bug asking that. I think you really should talk to the glib maintainer. Kurt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]