Nobuyoshi Nakada
10/20/2006 12:58:00 AM
Hi,
At Fri, 20 Oct 2006 08:13:46 +0900,
Matt Wynne wrote in [ruby-talk:220713]:
> In irb, if I require('mkmf') first, I can call
> have_library('iconv','libiconv') and return true, but the line that
have_library('iconv', 'iconv') fails, right?
> fails in extconf.rb is looking for a function 'iconv_open', and indeed
> if i call find_library('iconv','iconv_open') in that same irb session, I
> get back false.
Then try
find_library('iconv','libiconv')
or
find_library('iconv','libiconv_open')
find_library should take headers parameter as well as have_library,
but it'd be too late.
--
Nobu Nakada