ZendLoader won't run - undefined symbol: compiler_globals

General discussion on Zend Guard / Optimizer

ZendLoader won't run - undefined symbol: compiler_globals

Postby castlecomm on Tue Sep 20, 2011 8:55 pm

Hi Guys, i keep getting a undefined symbol error when it try to use Zend Guard Loader

Code: Select all
#php -v
Failed loading /usr/lib/php/extensions/ZendGuardLoader.so:  /usr/lib/php/extensions/ZendGuardLoader.so: undefined symbol: compiler_globals
PHP 5.3.8 (cli) (built: Sep  1 2011 15:28:51)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies


Yes, i have apache prefork turned on (not that it would matter, this is a command line example)

I haven't been able to find anything about this.

I have a custom compile of PHP 5.3.8 - might i have left something out?

Thanks!
--Robert
castlecomm
 
Posts: 1
Joined: Tue Sep 20, 2011 8:50 pm

Re: ZendLoader won't run - undefined symbol: compiler_global

Postby napsty on Mon Oct 10, 2011 10:06 pm

I'm having the exact same problem as Robert. I tried it with PHP 5.3.6 and 5.3.8 - both fail.

Code: Select all
Failed loading /usr/local/zendguard/ZendGuardLoader.so:  /usr/local/zendguard/ZendGuardLoader.so: undefined symbol: compiler_globals


I deactivated all other extensions to be sure, but doesn't work.

I used ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz, downloaded today (5.5.0) (and yes, its a x86_64 system before this question comes).

thanks for any help
napsty
 
Posts: 3
Joined: Fri Jan 08, 2010 4:41 pm

Re: ZendLoader won't run - undefined symbol: compiler_global

Postby zvika on Thu Dec 29, 2011 9:12 pm

Hi

Check for thread safety in your PHP compilation, and if so, recompile with thread safety disabled.

Please report back with any results.
If you want you can send me the new compile flags with php -i > phpinfo.out to me in a PM attachment, I will further check your configuration for further issues if the thread safety is not the issue.
Zvika Dror
Zend Support Team
User avatar
zvika
 
Posts: 509
Joined: Sun Dec 14, 2008 9:48 am

Re: ZendLoader won't run - undefined symbol: compiler_global

Postby clodel_ro on Sun Jun 10, 2012 9:14 am

Yeah ..without thread safe enabled ..it works. But how about if we want threads on php/apache?
clodel_ro
 
Posts: 1
Joined: Sun Jun 10, 2012 9:13 am


Return to Zend Guard / Optimizer

Who is online

Users browsing this forum: No registered users and 4 guests

cron