On Wed, 2003-06-04 at 02:25, John Gay wrote: > > >> And why are static lib's being linked into shared objects? > > > >Because some shared libraries (or plugins, or whatever) use some X > >extension libraries which are only available in static form. But non-PIC > >code in a shared object is a bad idea, it (like so many things...) only > >works on i386 (and maybe some other architectures) by coincidence. On > >other architectures, this causes build or run time errors. > > > So the real problem is that XFree86 should be providing shared versions of > these libraries that can be compiled with -fPIC and linked into shared > objects properly? I suppose that's one of those 'easier said than done' > things.
Indeed, that would be one solution, but nobody seems to be prepared to maintain the interfaces of those libraries. The other solution is to provide non-PIC and PIC versions of those libraries, which Branden has implemented for xlibs-pic. -- Earthling Michel Dänzer \ Debian (powerpc), XFree86 and DRI developer Software libre enthusiast \ http://svcs.affero.net/rm.php?r=daenzer