[PHP-DEV] Re: Bug #12918 Updated: end_error: referenced symbol not found, while loading a php extension module
The solution is setting the environment variable before ./configure LDFLAGS_SHLIB_EXPORT=-Xlinker -export-dynamic Joacim Joacim Zschimmer [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... zend_error() should be read in the summary, my mistake. -- I have to use 4.0.4pl1, because the customer says so. libhostphp.so is a self written php extension module, working fine for a year under Linux, 4.0.4pl1 too. I think the problem is a missing linker option for linking apache, one that presents the entries of php (zend_error etc) to dynamic loaded modules. As far as I know is zend_error() included in php and this is in apache. Joacim -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] zend_error: referenced symbol not found, while loading a php extension module
using dl() within php and apache on solaris, I get the following error message: Warning: Unable to load dynamic library 'libhostphp.so' - ld.so.1: .../bin/httpd: fatal: relocation error: file libhostphp.so: symbol zend_error: referenced symbol not found in .../test.php The symbol zend_error (among others) should be delivered by php/apache, that is program file httpd. The same works on linux. Does anyone know, how to get this symbol? Thank You very much _ Joacim Zschimmer[EMAIL PROTECTED](030) 3470 2520Zschimmer GmbH -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Re: Bug #12918 Updated: end_error: referenced symbol not found, while loading a php extension module
zend_error() should be read in the summary, my mistake. -- I have to use 4.0.4pl1, because the customer says so. libhostphp.so is a self written php extension module, working fine for a year under Linux, 4.0.4pl1 too. I think the problem is a missing linker option for linking apache, one that presents the entries of php (zend_error etc) to dynamic loaded modules. As far as I know is zend_error() included in php and this is in apache. Joacim -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]