From owner-freebsd-emulation@FreeBSD.ORG Wed Jan 4 09:31:41 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8EE016A41F for ; Wed, 4 Jan 2006 09:31:40 +0000 (GMT) (envelope-from roger.north-row@pure360.com) Received: from tomsk.pur3.net (office.pur3.net [217.207.105.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38CC743D49 for ; Wed, 4 Jan 2006 09:31:39 +0000 (GMT) (envelope-from roger.north-row@pure360.com) Received: from mail.wiredsussex.com ([217.154.176.154] helo=[192.168.16.123]) by tomsk.pur3.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.51 (FreeBSD)) id 1Eu4zW-000JE8-7M for freebsd-emulation@freebsd.org; Wed, 04 Jan 2006 09:31:34 +0000 Message-ID: <43BB95F3.4070803@pure360.com> Date: Wed, 04 Jan 2006 09:31:31 +0000 From: Roger North-Row Organization: Pure User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Linux-compiled PHP shared object X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2006 09:31:41 -0000 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.