# Trouble with installing RMagick, please help

**URL:** <https://www.ruby-forum.com/t/trouble-with-installing-rmagick-please-help/80678>\
**Category:** Rails\
**Created:** [December 29, 2006, 9:41pm UTC](https://www.ruby-forum.com/t/trouble-with-installing-rmagick-please-help/80678 "2006-12-29T21:41:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fishman2001](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/e9bcb4/32.png) [@fishman2001](https://www.ruby-forum.com/u/fishman2001)\
**Post date:** [December 29, 2006, 9:41pm UTC](https://www.ruby-forum.com/t/trouble-with-installing-rmagick-please-help/80678/1 "2006-12-29T21:41:18Z")

</div>

Hi I’m trying to install RMagick 1.14.1. I have ImageMagick already  
installed on my machine which is running Solaris 10 on it.  
when ever I try to run the ./configure  
it creshes out complainging about:  
configure: error: Can’t install RMagick. Can’t find libMagick or one of  
the dependent libraries.  
Check the config.log file for more detailed  
information.

checking the config.log I get this message;  
configure:2501: gcc -o conftest -I/usr/local/include -L/usr/local/lib  
-L/usr/local/lib -R/usr/local/lib -R/usr/lib -L/usr/lib  
-R/usr/openwin/lib -L/usr/openwin/lib -L/usr/local/ssl/lib  
-R/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib  
-R/usr/local/BerkeleyDB.4.2/lib -L/usr/openwin/lib -R/usr/openwin/lib  
-L/usr/local/lib -R/usr/local/lib -lfreetype -lz -L/usr/local/lib  
conftest.c -lMagick -lMagick -ltiff -lfreetype -ljpeg -L/usr/local/lib  
-lfontconfig -lXext -lSM -lICE -lX11 -lsocket -lnsl -lXt -lbz2 -lz  
-lpthread -lm -lpthread -lWand -lMagick \>&5  
Undefined first referenced  
symbol in file  
libiconv\_open /usr/local/lib/libfontconfig.so  
libiconv /usr/local/lib/libfontconfig.so  
ld: fatal: Symbol referencing errors. No output written to conftest

on fact even when I try to just compile something with the -lMagick  
library it spits out the complaint about libiconv\_open and fontconfig.  
Has anyone any ideas? if so please help.

Thanks

fish man.

---

<div class="post-metadata">

**Author:** ![fishman2001](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/e9bcb4/32.png) [@fishman2001](https://www.ruby-forum.com/u/fishman2001)\
**Post date:** [December 29, 2006, 10:29pm UTC](https://www.ruby-forum.com/t/trouble-with-installing-rmagick-please-help/80678/2 "2006-12-29T22:29:55Z")

</div>

On Fri, 2006-12-29 at 21:41 +0100, Fish Man wrote:

> configure:2501: gcc -o conftest -I/usr/local/include -L/usr/local/lib  
> libiconv\_open /usr/local/lib/libfontconfig.so  
> libiconv /usr/local/lib/libfontconfig.so  
> ld: fatal: Symbol referencing errors. No output written to conftest
> 
> on fact even when I try to just compile something with the -lMagick  
> library it spits out the complaint about libiconv\_open and fontconfig.  
> Has anyone any ideas? if so please help.

* * *

I know on Linux systems, that you have to install both ImageMagick and  
the ImageMagick-devel which provides the libraries for other programs to  
link to which sort of sounds like your issue but libfontconfig.so…

# rpm -q --whatprovides /usr/lib/libfontconfig.so.1

fontconfig-2.2.3-7.centos4

# rpm -q --whatrequires fontconfig

libgnomeui-2.8.0-1  
bitmap-fonts-0.3-4  
urw-fonts-2.2-6.1  
fonts-xorg-base-6.8.2-1.EL  
fontconfig-devel-2.2.3-7.centos4  
gimp-2.0.5-6

Obviously this is a Linux system and not entirely applicable for  
Solaris. Thus it would seem that a fairly basic GUI should work for this  
library but perhaps you need to locate it as a compile option (obviously  
libfontconfig.so.1 is not at /usr/local/lib/

Craig

---

<div class="post-metadata">

**Author:** ![fishman2001](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/e9bcb4/32.png) [@fishman2001](https://www.ruby-forum.com/u/fishman2001)\
**Post date:** [December 30, 2006, 4:08pm UTC](https://www.ruby-forum.com/t/trouble-with-installing-rmagick-please-help/80678/3 "2006-12-30T16:08:12Z")

</div>

I’ve checked the location of libfontconfig.so.1 and it is in  
/usr/local/lib.

where can I download a copy of ImageMagick-devel?
