Failed upgrade graphics/ImageMagick: /usr/bin/ld: skipping incompatible /usr/lib32/...

Shin-ichi Okano s-okano at n08.itscom.net
Fri Dec 25 13:05:00 UTC 2015


Hi,

I faced the same issue. 
I think this is caused by below:

----------------------------------------------------------------------
% pkgconf --libs liblzma
-L/usr/lib32 -llzma  
% cat /usr/libdata/pkgconfig/liblzma.pc
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#

prefix=/usr
exec_prefix=/usr
libdir=/usr/lib32
includedir=/usr/include

Name: liblzma
Description: General purpose data compression library
URL: http://tukaani.org/xz/
Version: 5.2.2
Cflags: -I${includedir}
Libs: -L${libdir} -llzma
Libs.private:  @LIBS@
----------------------------------------------------------------------

I am afraid that the file for "lib32" is installed (overwrites?).
When I change "/usr/lib32" to "/usr/lib", I can build ImageMagick
successfully.

Best Regards,
Shin-ichi Okano


More information about the freebsd-ports mailing list