ZendOptimizer and libm.so.2?

Dan Nelson dnelson at allantgroup.com
Tue Oct 3 15:18:46 PDT 2006

In the last episode (Oct 03), Mark said:
> > 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?

You're better off installing the misc/compat4x port to get libm.so.2 .

	Dan Nelson
	dnelson at allantgroup.com

More information about the freebsd-questions mailing list