Problem installing ruby-libxml

F

Francis Hwang

Hi, I'm trying to install ruby-libxml and not having any luck. I
should preface my post by saying that my understanding of how Unix
libraries work is pretty sad, so please feel free to point me to some
resource (web page, man page, book, etc.) that I could use to figure
this out.

Anyway, here's what happens when I try to install ruby-libxml:

$ ruby extconf.rb
checking for atan() in -lm... yes
checking for inflate() in -lz... yes
checking for iconv_open() in -liconv... no
checking for iconv_open() in -lc... no
checking for iconv_open() in -lrecode... no
extconf failure: need libiconv

But I have definitely already installed libiconv, in fact when I look
in /usr/local/lib I see:

/usr/local/lib/libiconv.2.2.0.dylib
/usr/local/lib/libiconv.2.dylib
/usr/local/lib/libiconv.dylib
/usr/local/lib/libiconv.la

Any hints as to what I should try next would be much appreciated.

Francis
 
S

Sam Roberts

I had a problem with similar symptoms a while ago trying to install a
ruby module that needed iconv. I had to replace

have_library("iconv")

in extconf.rb with
have_library("iconv", "iconv")

on Nobu's advice.

Maybe this will work for you? Also, mkmf.log gave the essential clue
as to what wasn't working. Maybe include yours if it still does not
build.

Cheers,
Sam

Quoteing (e-mail address removed), on Thu, Nov 27, 2003 at 08:52:11AM +0900:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top