On Wed, Nov 22, 2006 at 08:49:42PM +0100, Nepenthes Development Team wrote: > On 11/22/06, Frank Lichtenheld <[EMAIL PROTECTED]> wrote: > >your package failed to build from source. Apparently because you > >tried to include a static library into a dynamic one. To do this > >you need a version of the static library compiled with -fPIC. > >(All this IIRC, libraries aren't really my strong point ;) ... > So, I'm not sure whats the debian way of resolving this, on the one > hand you need fPIC, on the other hand static libs should not use fpic. > > Compiling libipq static before, and linking the static version would > do the trick, but I have no idea whats your policy on such hacks.
If you really need to link a static version of a library into a shared one, you need a version of that static library compiled with -fPIC. I know of quite a few cases where the library package provides two versions of the static library, one without PIC and one with. You could ask the iptables maintainer if he would be able/willing to do that. The only other way would be to include the iptables source code into your packages source code and to compile the static library with PIC yourself, but that is problematic e.g. for security updates. I don't know what the best solution in your case would be. You should probably ask that question on the debian-devel list or in the #debian-devel IRC channel. I'm sure you will find someone there who has more clue than me :) Gruesse, -- Frank Lichtenheld <[EMAIL PROTECTED]> www: http://www.djpig.de/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]