On 04/30/2013 03:41 AM, 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.
>
>   Fixed in my case by altering my script to:
> RAWLIBTOOL=$(find /usr/lib -name '*.la' | sort)
> # retain ImageMagick-x.y.z//modules-Q16 la files for runtime use.
> # strip redundant whitespace, to leave empty string if
> # nothing was found
> LIBTOOLS=$(echo $RAWLIBTOOL | sed 's/.*modules-Q16.*//' | \
>    sed 's/ +/ /g')
> if ! [ -z "$LIBTOOLS" ]; then
>       echo "sweep: found libtool libraries"
>       for F in $LIBTOOLS ; do
>               mv -v $F{,.hidden}
>       done
> else
>       echo "sweep: no libtool libraries found"
> fi
>
>   If I was short of space, I would consider deleting them - but I'm
> not, and I'll let them stay around until I'm convinced that I don't
> need them :)
>
>   Apart from this, and the openjade compile fix, for the moment
> everything looks good - but I haven't used very much.
>
> ĸen
>

Unfortunately, ImageMagick uses libltdl instead of libdl for module 
loading. I did the same thing and broke ImageMagick. The only two 
packages which have .la files on my system are libgphoto and 
ImageMagick, but not in /usr/lib - just in their module directory.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to