glib 2.0.6 configure

I'm attempting to compile glib-2.0.6 on FreeBSD 4.5. Configure dies when 
testing for iconv_open().

checking for iconv_open... no
checking for libiconv_open in -liconv... no
checking for iconv_open in -liconv... no
configure: error: *** No iconv() implementation found in C library or libiconv

I have installed libiconv-1.8... ldconfig -r shows:

76:-liconv.2 => /usr/local/lib/

There are also man pages for iconv_open().

I tried making a simple C program that called the system version of 
iconv_open(). The program failed the compile because of a syntax error in

I made another simple C program that called iconv_open() and libiconv_open()
but linked to the libiconv-1.8 libraries. This compiled and ran fine.

So it appears that I have some sort of iconv support, but configure can't seem
to find it. 

Any help is greatly appreciated. Thanks!

wes brutality org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]