Linux-compiled PHP shared object
Roger North-Row
roger.north-row at pure360.com
Wed Jan 4 01:31:41 PST 2006
Hi,
I am trying to use PHP Turbine 7
http://www.blue-pacific.com/products/phpturbine/default.htm under
FreeBSD 5.3 STABLE. This is a linux-compiled set of shared objects. I
have enable linux emulation and tried several different ports (currently
linux_base-8-8.0_10), but always get the PHP warning:
PHP Warning: Unknown(): Unable to load dynamic library
'/usr/local/lib/php/20020429/turbine7/php_turbine7_4.3.0.so' - Shared
object "libc.so.6" not found, required by
"php_turbine7_4.3.0.so" in Unknown on line 0
Do you know if it is possible to use a shared object (rather than an
executable) using this method?
# brandelf -t Linux /usr/local/lib/php/20020429/turbine7/*.so
# brandelf /usr/local/lib/php/20020429/turbine7/php_turbine7_4.3.0.so
File '/usr/local/lib/php/20020429/turbine7/php_turbine7_4.3.0.so' is of
brand 'Linux' (3).
# ldd /usr/local/lib/php/20020429/turbine7/php_turbine7_4.3.0.so
/usr/local/lib/php/20020429/turbine7/php_turbine7_4.3.0.so:
libc.so.6 => not found (0x0)
libm.so.6 => not found (0x0)
lrwxr-xr-x 1 root wheel 13 Jan 3 17:42 /compat/linux/lib/libc.so.6
-> libc-2.3.2.so
lrwxr-xr-x 1 root wheel 13 Jan 3 17:42 /compat/linux/lib/libm.so.6
-> libm-2.3.2.so
lrwxr-xr-x 1 root wheel 11 Jan 3 17:42
/compat/linux/lib/ld-linux.so.2 -> ld-2.3.2.so
The files that the links point to exist.
Any help appreciated.
Regards,
Roger.
More information about the freebsd-emulation
mailing list