You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "David Reiss (JIRA)" <ji...@apache.org> on 2009/05/12 22:28:45 UTC

[jira] Commented: (THRIFT-350) Thrift_protocol PHP extension not linked with stdc++ library

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

David Reiss commented on THRIFT-350:
------------------------------------

I asked the original author to take a look at this.

> 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.