B This file provides platform specific portability notes which don'tH belong in README.txt. Usually ImageMagick compiles fine according to theD procedures described in README.txt, but sometimes a platform related oddity causes a failure.   SGI Irix	 =========   	   Problem   C     How to successfully configure ImageMagick using SGI' commercial (     compiler (e.g. IRIX C/C++ v7.3.1.X)?  
   Indications        None  
   Solution       Configure like  /       CC=cc CFLAGS="-O2 -OPT:Olimit=0" CXX=CC \ F       CXXFLAGS="-LANG:std -Wl,-woff,84 -O2" CXXCPP="CC -LANG:std -E" \3       ./configure --with-modules --with-threads ...   0     with the following in /etc/compiler.defaults          -DEFAULT:abi=n32:isa=mips3  	 Linux 6.1 	 =========   	   Problem   C     When '-rpath /somedir' is added to LDFLAGS in order to tell the <     linker to apply a run-time linker path, configure fails.  
   Indications   1     The configure script prints the error message   '       checking for executable suffix... J                                   configure: error: cannot compute EXEEXT:       and the error message   '       gcc: unrecognized option `-rpath'        is written to config.log  
   Solution  I     Use 'LDFLAGS=-Wl,-rpath,/somedir' instead to pass the options through      to the linker.   FreeBSD 3.X and 4.X  ===================   	   Problem    G     ImageMagick does not run after it is installed. The system does not D     see an installed shared library until the 'ldconfig' command has6     been executed (as root) using the correct options.  
   Indications    >     System fails to find shared library needed by ImageMagick.  
   Solution   C     Either reboot the system (which automatically runs ldconfig) or      execute   %       /sbin/ldconfig -m ${PREFIX}/lib   C     where ${PREFIX} is the prefix used when configuring ImageMagick      (default /usr/local).    Digital Unix and OSF/1 ======================  	   Problem    H     Digital Unix provides an outdated JPEG shared library as part of the     system.      
   Indications        ImageMagick fails to link.  
   Solution   B     Ensure that the JPEG library you installed is used. Be sure to1     install the JPEG library as a shared library.    Solaris 2.X  ============  	   Problem    A     An outdated delegate library is used rather than the one just      installed.     
   Indications    /     o Failure to link due to unresolved symbols      o Failure to run properly @     o The command 'ldd `which convert`' lists the wrong library.   
   Solution  C     If the problem library is a shared library (.so extension) then G     install your own library as a shared library. Then add the required F     -L and -R options to find your shared library at both link and runI     time. For example, if your library is is installed in /usr/local/lib:        <       configure LDFLAGS='-L/usr/local/lib -R/usr/local/lib'   	   Problem   9     An outdated libtiff.so (libtiff.so.3) is installed in F     /usr/openwin/lib. This library may be used by accident rather thanD     the intended libtiff.so, or libtiff.a. In particular, the linkerB     generally considers linking against a shared library before itD     considers static libraries, so the system libtiff.so may be usedE     even though there is an installed libtiff.a earlier in the linker      search path.  
   Indications    1     ImageMagick fails to link or load TIFF files.   
   Solution  E     o Install libtiff as a shared library, and make sure that LDFLAGS A       contains the required -L and -R options to find your shared F       library at both link and run time. For example, if libtiff.so is"       installed in /usr/local/lib:       ;       configure LDFLAGS='-L/usr/local/lib -R/usr/local/lib'        or       F     o Remove /usr/openwin/lib/libtiff.so.3. Note that if you take thisI       step, some tools like 'imagetool' and 'pageview' will stop working.   	   Problem    M     When using gcc 3.0.X, configure decides that the compiler is insufficient      to compile Magick++.     
   Indications         Fails ISO C++ test.    
   Solution  9     The problem is due to gcc provided headers undefining H     Solaris-provided defines for 64-bit versions of stdio functions. TheH     solution is to either configure with --disable-largefile or edit theF     installed g++-v3/bits/std_cstdio.h to bracket the offending undefs;     (for fgetpos, fopen, freopen, fsetpos, & tmpfile) like:        #if _FILE_OFFSET_BITS != 64      #undef fopen
     #endif  	        or   '     Install gcc 3.1 (or later) instead.   	   Problem   8     A static library was used in a shared library build.  
   Indications   '     Linker prints a warning similar to:   G     "ld: fatal: relocations remain against allocatable but non-writable       sections"  
   Solution  F     All libraries used in a shared library build *must* also be sharedA     libraries. Check all libraries referenced in the libtool link D     command line and verify that all of the referenced libraries areB     indeed shared libraries. All system libraries are available asG     shared libraries so it is likely that any static library is locally      installed.     