My issue has been resolved by a comment on the submitted ticket - thank
you!  The fix was to build the dependencies and Thrift consistently,
Homebrew had installed Boost and Thrift as 32-bit with -stdlib=libc++,
while I was building a 64-bit program with -stdlib=libstdc++.  My test
application compiled and linked to completion after making these consistent.


On Tue, May 27, 2014 at 3:59 PM, Connor Manning
<[email protected]>wrote:

> Hello, I'm trying to get a C++ Thrift client working on OS X.
>
> I've tried the current Homebrew-installed version of 0.9.1 which doesn't
> appear to build a complete development library for me, manifesting itself
> in unknown symbols for TSocket (while other Thrift code in the same
> directory works fine).  I've submitted
> https://issues.apache.org/jira/browse/THRIFT-2553 for that issue.  Are
> there perhaps other patches I need to apply in addition to the ones that
> Homebrew currently pulls in?
>
> I have also tried other ways to get something workable:
>
> I've also tried building 0.9.1 from source and manually applying the
> patches that Homebrew applies - however running "make" here results in the
> attached linker error.
>
> I've tried building from the current master branch as well, but that also
> appears to have issues.
>
> For each of these attempts I've tried with both C++11 and C++0x without
> success.  I've been passing "-stdlib=libstdc++" to satisfy OS X as well.
>
> I could really use some help from anyone anyone with experience building
> Thrift/C++ projects on OS X Mavericks.  Are there any known working
> revisions that will allow me to compile and properly link a C++ client on
> Mavericks?  Or maybe some sort of workaround to complete the 0.9.1 library?
>
> Thank you very much for any help that can be provided.
>

Reply via email to