ZendOptimizer and libm.so.2?

Mark admin at asarian-host.net
Tue Oct 3 15:14:34 PDT 2006


I wrote:

> Subject: ZendOptimizer and libm.so.2?
> 
> 
> Hello,
>
> Is there a particular reason ZendOptimizer
> (/usr/ports/devel/ZendOptimizer) for PHP 4.4.4 requires FreeBSD 5.x or
> higher? Near as I can tell, only reason it wouldn't run
> really, is because of the absence of libm.so.3. But I resolved to be bold,
> and made a symlink for libm.so.3 to libm.so.2, and now my new
ZendOptimizer
> works just flawlessly.

I did some more research:

http://www.hostlibrary.com/SetupaFreeBSDproductionWebServerrerytretret.html

It says:

"On FreeBSD 5.4 you might get an error when installing Zend Optimizer:
/usr/libexec/ld-elf.so.1: Shared object "libm.so.2" not found, required by
"php"

To fix the problem and go on with installation just create a symbolic link:

#ln -s /lib/libm.so.3 /lib/libm.so.2

then continue with Zend installation."

Which leads me to believe I'm correct in thinking Zend Optimizer really
just needs libm.so.2, right?

- Mark



More information about the freebsd-questions mailing list