[ 
https://issues.apache.org/jira/browse/THRIFT-350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730033#action_12730033
 ] 

Chris Goffinet commented on THRIFT-350:
---------------------------------------

I can reproduce this problem as well. Can we get this committed? Tested with 
PHP 5.2.9.

> Thrift_protocol PHP extension not linked with stdc++ library
> ------------------------------------------------------------
>
>                 Key: THRIFT-350
>                 URL: https://issues.apache.org/jira/browse/THRIFT-350
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (PHP)
>            Reporter: Russ Garrett
>         Attachments: thrift_protocol_cxx_libs.patch, 
> thrift_protocol_cxx_libs_2.patch
>
>
> The accelerated thrift_protocol extension is not linked with libstdc++ by 
> default. Unless you have this library linked into PHP (which it isn't by 
> default), you get an error similar to:
> PHP Warning:  PHP Startup: Unable to load dynamic library 
> 'thrift_protocol.so' - thrift_protocol.so: undefined symbol: 
> _ZTVN10__cxxabiv120__si_class_type_infoE in Unknown on line 0
> This can be fixed by modifying config.m4 to append -lstdc++.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to