Alan Coopersmith wrote:
> With the Xorg libraries built using libtool we allow the configure/build to > generate the .so.x.y.z libraries, but the package prototypes only include > the .so.x paths in the packages. *.la files are deleted on sight during > the build, as they serve only to introduce more bugs. I already got rid of the *.la files for all these packages. The problem is that this does not always work. There is another evil contraption called libltdl. This is either a shared library, or a static library which exists as a private copy inside a given package, and which gets linked in statically in these package shared libs. libltdl parses the *.la files to dlopen() shared objects (ImageMagick and GraphicsMagick do this) -- which is the explanation for the abundant information contained in the *.la files. If the *.la files don't exist, libltdl will pronounce that the shared module doesn't exist, when in fact it is there. So, for some packages, the *.la files can't be disposed of. --Stefan -- Stefan Teleman Sun Microsystems, Inc. Stefan.Teleman at Sun.COM
