Tuesday, April 1, 2008

First FreeBSD 7.0 install

Today, I got my first 7.0 FreeBSD server to install. Everything went normal, only one quirk while installing linuxthreads, but managed to do without them.

Zend Optimizer 3.3.0a, though, greeted me with
/libexec/ld-elf.so.1: Shared object "libm.so.4" not found, required by "php"

So, the solution was to
cd /usr/ports/misc/compat6x
make install clean

3 comments:

Unknown said...

worked for me too! thanks!

John Matthias Syrinek said...

I already had compat6x installed when I installed ZendOptimizer 3.3.0a from the ports distribution. I get the same message -- Shared object "libm.so.4" not found, required by "ZendExtensionManager.so" -- in apache's log file. I ran `ldd` on ZendExtensionManager.so and got this:
/usr/local/Zend/lib/ZendExtensionManager.so:

libm.so.4 => /usr/local/lib/compat/libm.so.4 (0x800b03000)

This file does in fact exist, so I don't know why I'm still getting this error.

Stormbringer*¹ said...

Ty ty.