List Info

Thread: Re: libWand linked against obsolete libMagick




Re: libWand linked against obsolete libMagick
user name
2007-01-17 09:33:41
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$/include/libxml2"
     fi
-    LDFLAGS="$LDFLAGS -L$/lib"
+    if test "$" != '/usr'
+    then
+      LDFLAGS="$LDFLAGS -L$/lib"
+    fi
    fi
   failed=0;
   passed=0;


A.
-- 
Ansgar Esztermann
Researcher & Sysadmin
http://www.mpibpc.mpg.de/groups/grub
mueller/start/people/aeszter/index.shtml
_______________________________________________
Magick-bugs mailing list
Magick-bugsimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-
bugs

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )