Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jan 2006 09:31:31 +0000
From:      Roger North-Row <roger.north-row@pure360.com>
To:        freebsd-emulation@freebsd.org
Subject:   Linux-compiled PHP shared object
Message-ID:  <43BB95F3.4070803@pure360.com>

next in thread | raw e-mail | index | archive | help
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 &quot;libc.so.6&quot; not found, required by 
&quot;php_turbine7_4.3.0.so&quot; 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43BB95F3.4070803>