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] Created: (THRIFT-350) Thrift_protocol PHP extension not
linked with stdc++ library
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.
[jira] Resolved: (THRIFT-350) Thrift_protocol PHP extension not
linked with stdc++ library
Posted by "David Reiss (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Reiss resolved THRIFT-350.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.2
> 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
> Fix For: 0.2
>
> 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.
[jira] Commented: (THRIFT-350) Thrift_protocol PHP extension not
linked with stdc++ library
Posted by "David Reiss (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (THRIFT-350) Thrift_protocol PHP extension not
linked with stdc++ library
Posted by "Russ Garrett (JIRA)" <ji...@apache.org>.
[ 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_2.patch
Make patch relative to project root
> 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.
[jira] Updated: (THRIFT-350) Thrift_protocol PHP extension not
linked with stdc++ library
Posted by "Russ Garrett (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (THRIFT-350) Thrift_protocol PHP extension not
linked with stdc++ library
Posted by "Chris Goffinet (JIRA)" <ji...@apache.org>.
[ 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.