code_junkie

error installing RMagick from gem

Nov 11th, 2011
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. checking for InitializeMagick() in -lMagick... no
  2. checking for InitializeMagick() in -lMagickCore... no
  3. checking for InitializeMagick() in -lMagick++... no
  4. Can't install RMagick 2.6.0. Can't find the ImageMagick library or one of the dependent libraries. Check the mkmf.log file for more detailed information.
  5.  
  6. *** extconf.rb failed ***
  7.  
  8. have_library: checking for InitializeMagick() in -lMagick... -------------------- no
  9.  
  10. "/usr/local/bin/gcc -o conftest -I.
  11. -I/usr/local/lib/ruby/1.8/i386-solaris2.10 -I. -I/usr/local/include/ImageMagick -I/usr/local/include/ImageMagick conftest.c -L. - L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -L/usr/local/lib -R/usr/local/lib -lfreetype -lz -L/usr/local/lib -L/usr/local/lib -lMagickCore -lruby-static - lMagick -ldl -lcrypt -lm -lc"
  12. ld: fatal: library -lMagick: not found
  13. ld: fatal: File processing errors. No output written to conftest
  14.  
  15. # ls -l /usr/local/lib/ | grep -i magick
  16. drwxr-xr-x 5 root root 512 Sep 24 23:09 ImageMagick-6.4.3/
  17. -rw-r--r-- 1 root root 10808764 Sep 25 02:09 libMagickCore.a
  18. -rwxr-xr-x 1 root root 1440 Sep 25 02:09 libMagickCore.la*
  19. -rw-r--r-- 1 root root 2327072 Sep 25 02:09 libMagickWand.a
  20. -rwxr-xr-x 1 root root 1472 Sep 25 02:09 libMagickWand.la*
  21.  
  22. export CFLAGS="-liconv"
  23.  
  24. ./configure --disable-static --with-modules --without-perl --with-quantum-depth=8 --with-bzlib=no --with-libiconv
Add Comment
Please, Sign In to add comment