You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Russ Garrett (JIRA)" <ji...@apache.org> on 2009/02/24 19:47:01 UTC

[jira] Updated: (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:all-tabpanel ]

Russ Garrett updated THRIFT-350:
--------------------------------

    Attachment: thrift_protocol_cxx_libs.patch

A patch to fix this problem.

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