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.

Reply via email to