Failed loading /usr/local/Zend/lib/ZendExtensionManager.so

General discussion on Zend Guard / Optimizer
Post Reply
looklively
Posts: 11
Joined: Tue May 05, 2009 1:14 pm

Failed loading /usr/local/Zend/lib/ZendExtensionManager.so

Post by looklively » Tue May 05, 2009 1:22 pm

Hullo!

Running xampp 1.7 on a local install on kubuntu 8.10.x64.
Intending to run Cubecart v4.

I installed Zend Optimizer 3.3.3 x64. without any probs reported.
However, when I start xampp I get the following error;

Code: Select all

Failed loading /usr/local/Zend/lib/ZendExtensionManager.so:  /usr/local/Zend/lib/ZendExtensionManager.so: wrong ELF class: ELFCLASS64
Then, running cubecart in a browser, all I get are 3 lines of question marks.

Can anyone suggest what I should do, please.

TFL

Rich.

michaelle
Posts: 173
Joined: Sun Dec 21, 2008 1:30 pm
Contact:

Re: Failed loading /usr/local/Zend/lib/ZendExtensionManager.so

Post by michaelle » Tue May 05, 2009 1:56 pm

Please try to load Zend Optimizer directly via "extension=" directive.
The error says that /usr/local/Zend/lib/ZendExtensionManager.so file is 32 bit version.

looklively
Posts: 11
Joined: Tue May 05, 2009 1:14 pm

Re: Failed loading /usr/local/Zend/lib/ZendExtensionManager.so

Post by looklively » Tue May 05, 2009 2:15 pm

Hi Michaelle,
load Zend Optimizer directly via "extension=" directive
Please can you clarify how to do that.

I initially installed 32bit version by mistake.
Should I re-install zend?

Thanks

michaelle
Posts: 173
Joined: Sun Dec 21, 2008 1:30 pm
Contact:

Re: Failed loading /usr/local/Zend/lib/ZendExtensionManager.so

Post by michaelle » Tue May 05, 2009 8:23 pm

If so - yes - you should re-install the product ...
Please discard my message about loading the extension directly.

looklively
Posts: 11
Joined: Tue May 05, 2009 1:14 pm

Re: Failed loading /usr/local/Zend/lib/ZendExtensionManager.so

Post by looklively » Wed May 06, 2009 11:05 am

Morning michaelle,

Thanks for your help thus far.

I have uninstalled ZendOptimizer as per docs.

On re-installing I have hit a point where I may have gone wrong before.
The default location for install is /usr/local/Zend, and for php.ini /usr/local/Zend/etc.
There is already a Zend folder here from the previous install.

However, I already have a php.ini witn my xampp install located at /opt/lampp/etc.
This is where the php.ini-zend_optimizer.bak file was that I deleted during uninstall.

Is this where I went wrong.
How should I proceed?

Many thanks.

looklively
Posts: 11
Joined: Tue May 05, 2009 1:14 pm

Re: Failed loading /usr/local/Zend/lib/ZendExtensionManager.so

Post by looklively » Thu May 07, 2009 11:13 am

I re-installed Zend Optimizer but still the same error;
wrong ELF class: ELFCLASS64

I have used "ZendOptimizer-3.3.3-linux-glibc23-x86_64"
I downloaded it again to make sure - but still the same error.

So I have tried the 32 bit version and hey presto .. it works.

I can't imagine why this should work on my 64 bit kubuntu but it does.
Good enough.

Thanks for your help.

yoramb
Posts: 35
Joined: Tue Jun 02, 2009 3:48 pm

Re: Failed loading /usr/local/Zend/lib/ZendExtensionManager.so

Post by yoramb » Tue Jun 02, 2009 4:03 pm

the ELF class (that is the architecture that the library is compiled for) should match the one of PHP, if they are noth 32BIT, they can work on 64 machine.

rhsoftware
Posts: 87
Joined: Thu Jun 04, 2009 11:31 am

Re: Failed loading /usr/local/Zend/lib/ZendExtensionManager.so

Post by rhsoftware » Thu Jun 04, 2009 11:37 am

looklively wrote:So I have tried the 32 bit version and hey presto .. it works.
Your xampp crap is 32bit
Why use xampp on a linux-system with package-managment which has apache, php on board like a windows user who installs all manually and upgrades never?

Post Reply