Ken Moffat wrote: > The second of my reports on libtool archives is for ImageMagick. > > If I delete, or rename, the .la files in > /usr/lib/ImageMagick-x.y.z/modules-Q-16 then the programs don't > work, e.g. display reports: > > ken@ac4tv ~ $display log-wagons.jpg > display: no decode delegate for this image format `log-wagons.jpg' @ > error/constitute.c/ReadImage/550.
This just doesn't make sense to me. If the .la file was being used, it needs to be opened and read to get some information. However, I was able to duplicate it. It appears that the source is moribund. magick/module.c Software Design March 2000 It uses #if defined(MAGICKCORE_LTDL_DELEGATE) # define ModuleGlobExpression "*.la" #else # if defined(_DEBUG) # define ModuleGlobExpression "IM_MOD_DB_*.dll" # else # define ModuleGlobExpression "IM_MOD_RL_*.dll" # endif #endif ... It appears the author knew a lot more about Windows than Linux. It looks for 'dlname=' in the .la file. I have no idea why it doesn't just open the .so file directly and look for the appropriate dlsym() result to find the right library. Perhaps it's a bsd thing or something like that. In the meantime, we can't remove the .la files from /usr/lib/ImageMagick-*/modules-Q16/ and still have the functionality. -- Bruce -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
