On Fri, Jul 27, 2001 at 12:51:35AM -0600, Bradley C. Midgley wrote: > daniel, > > > Sure. But if you're using DynaLoader from 5.6.0, see the archives of > > debian-perl for your problem. Use current 5.6.1 packages from > > for those reading along, the thread is here: > http://lists.debian.org/debian-perl-0105/msg00012.html > > > unstable; DynaLoader contained non-PIC code. > > unless i'm mistaken, there's a fundamental conflict here. > > if the contents of a libfoo.a were created without -fPIC, then any .so > created with -lfoo will have REL24 relocations and fail. but debian policy > dictates that static libraries be built exactly this way: > > http://www.debian.org/doc/debian-policy/ch-files.html#s11.2 > > although upgrading perl avoided the REL24 relocations in one .so, i am now > seeing the problem caused by bind-dev. do i send bug reports because this > package is adhering to misguided policy?
This may need to be discussed further. If a library is only provided statically, a PIC version needs to be provided or it can not be used for shared libraries. X has a similar issue. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer