Boost logo

Boost :

Subject: Re: [boost] [Locale] On Mac OS X 10.6 fails to find iconv
From: Daniel James (dnljms_at_[hidden])
Date: 2011-07-19 06:41:23


On 18 July 2011 13:12, Artyom Beilis <artyomtnk_at_[hidden]> wrote:
>
> And for what reason (if the sample code above
> compiles)
>
> I would be grateful.

It works okay on my Mac (although I'm still running OS X 10.5, not
10.6). But one possibility is that it's using the headers from one
location, and the library from another. See this blog post for a
description:

http://blog.yimingliu.com/2009/02/24/missing-library-symbols-while-compiling-php-528/
found via http://stackoverflow.com/questions/3688700/

The test gcc 4.4 is built using macports, so it's likely they'll have
at least two versions of iconv on their machine (the apple one with
prefix /usr and the macports one with prefix /opt/local). But that
isn't a problem for me, so it might not be the problem here.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk