Boost logo

Boost :

Subject: [boost] [Locale] On Mac OS X 10.6 fails to find iconv
From: Artyom Beilis (artyomtnk_at_[hidden])
Date: 2011-07-18 08:12:51


I need a help from Mac OS X users, I have many
faults on Darwin:

Where all GCC's are related to inability to find iconv for some reason.

On my darwin 8.01 x86 I have no problems to
compile this simple program:


    #include <iconv.h>
    int main()
        iconv_t d = iconv_open(0,0);


    g++ has_iconv.cpp -liconv

Also BBv2 script of Boost.Locale finds the iconv without
a problem, so I'm quite lost.

So if anybody that uses Boost from svn-trunk can check why
has_iconv test fails (if it is on their machines) and see if

./bjam libs/locale/test prints

    - iconv (libc) : no
    - iconv (separate) : no

And for what reason (if the sample code above

I would be grateful.

Because I have no idea what happens there and
I don't have Mac only Darwin 8 which handles it

 Artyom Beilis
CppCMS - C++ Web Framework:
CppDB - C++ SQL Connectivity:

Boost list run by bdawes at, gregod at, cpdaniel at, john at