[Magick-bugs] libWand linked against obsolete libMagick
Ansgar Esztermann
aeszter at gwdg.de
Wed Jan 17 09:33:41 CST 2007
Quoting myself:
> For now, I've "fixed" the problem by a kind of bootstrapping process:
> after recompiling on the same system, libMagick from the first
> installation is found and linked to.
On closer investigation, the above paragraph turned out to be
incorrect. The libraries created during the build process are correct
-- but they are relinked during make install, and then the error is
being introduced.
At configure time, $xml_prefix/lib is added to the list of library
search paths. On myt system, $xml_prefix is simply /usr, so /usr/lib
gets added. This is not really necessary (/usr/lib is searched
anyway). Since it's being mentioned explicitly, it will be searched
earlier than some of the more special paths.
I've fixed the problem like this:
--- ImageMagick-6.3.1/configure.ac 2006-11-26 17:05:36.000000000 +0100
+++ ImageMagick-6.3.1-mine/configure.ac 2007-01-17 11:01:40.000000000 +0100
@@ -1903,7 +1903,10 @@
then
CPPFLAGS="$CPPFLAGS -I${xml2_prefix}/include/libxml2"
fi
- LDFLAGS="$LDFLAGS -L${xml2_prefix}/lib"
+ if test "${xml2_prefix}" != '/usr'
+ then
+ LDFLAGS="$LDFLAGS -L${xml2_prefix}/lib"
+ fi
fi
failed=0;
passed=0;
A.
--
Ansgar Esztermann
Researcher & Sysadmin
http://www.mpibpc.mpg.de/groups/grubmueller/start/people/aeszter/index.shtml
More information about the Magick-bugs
mailing list