[oi-dev] ImageMagick *.pc issue

Aurélien Larcher aurelien.larcher at gmail.com
Sat Jul 25 00:45:08 UTC 2015


Hi,
as I built Inkscape I had to patch the Makefile due to

make[3]: Entering directory
`/scratch/alarcher/oi-userland/components/inkscape/build/i86/src'
echo "  CXXLD " inkscape;/usr/gcc/4.8/bin/g++  -Wpointer-arith -Wcast-align
-Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter  -m32
-fopenmp -DSOLARIS=11   -m32 -o inkscape main.o  libinkscape.a dom/libdom.a
libcroco/libcroco.a libavoid/libavoid.a libgdl/libgdl.a libcola/libcola.a
libvpsc/libvpsc.a livarot/libvarot.a 2geom/lib2geom.a  libinkversion.a
-lgtkmm-2.4 -lgtk-x11-2.0 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4
-lglibmm-2.4 -lcairomm-1.0 -lxslt -lxml2 -lm -lxml2 -lsigc-2.0 -lgtkspell
-lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lgio-2.0 -R/usr/lib -lXrender
-R/usr/lib -lXinerama -R/usr/lib -lXrandr -R/usr/lib -lXcursor -R/usr/lib
-lXcomposite -R/usr/lib -lXdamage -R/usr/lib -lXfixes -lX11 -R/usr/lib
-lXext -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0
-lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -lpthread
-lglib-2.0 -lpng14 -lgsl -lgslcblas -lm  -lX11 -lpng -lz -lxml2 -ldl -lgomp
-lpopt -laspell -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lpthread
-lgmodule-2.0 -lpthread -lgobject-2.0 -lglib-2.0   -lfreetype
-lMagick\+\+6-Q16 -lm -lMagickCore-6.Q16  -lgc   -llcms  -lpoppler
-lpoppler-glib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lcairo
  CXXLD  inkscape
ld: fatal: library -lMagick++6-Q16: not found
ld: fatal: file processing errors. No output written to inkscape
collect2: error: ld returned 1 exit status

I figured now that the problem lies in

usr/lib/*/pkgconfig/ImageMagick++-6.Q16.pc
usr/lib/*/pkgconfig/ImageMagick++.pc
usr/lib/*/pkgconfig/Magick++-6.Q16.pc
usr/lib/*/pkgconfig/Magick++.pc

which read

Libs: -L${libdir} -lMagick++6-Q16

instead of

Libs: -L${libdir} -lMagick++-6.Q16

Consequently I am now rebuilding imagemagick to fix it and the archive URL
is broken.

I am changing now to the official mirror:

http://www.imagemagick.org/download/releases/ImageMagick-6.8.3-10.tar.xz

Best

Aurélien

-- 
-------------------------------------------------------------------------------
LARCHER Aurélien          | KTH, School of Computer Science and
Communication
Work: +46 (0) 8 790 71 42 | Lindstedtsvägen 5, Plan 4, 100 44 Stockholm,
SWEDEN
-------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20150725/6d8a8756/attachment-0004.html>


More information about the oi-dev mailing list