From owner-freebsd-emulation@FreeBSD.ORG Wed Jan 4 11:43:05 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 234D516A41F for ; Wed, 4 Jan 2006 11:43:05 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72E3D43D49 for ; Wed, 4 Jan 2006 11:43:04 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D07C.dip.t-dialin.net [84.165.208.124]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k04Bd4sU091687; Wed, 4 Jan 2006 12:39:05 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k04Bgxrg036135; Wed, 4 Jan 2006 12:42:59 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Wed, 4 Jan 2006 12:42:58 +0100 From: Alexander Leidinger To: Roger North-Row Message-ID: <20060104124258.12bb03a6@Magellan.Leidinger.net> In-Reply-To: <43BB95F3.4070803@pure360.com> References: <43BB95F3.4070803@pure360.com> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org Subject: Re: 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 11:43:05 -0000 On Wed, 04 Jan 2006 09:31:31 +0000 Roger North-Row wrote: > 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 This is expected. > Do you know if it is possible to use a shared object (rather than an > executable) using this method? [brandelf-ing the lib] It's not possible (at least not this way), the linuxolator doesn't take care of this. You better get a FreeBSD version of this, it's the least amount of work. If this isn't possible, you need to write a wrapper. Have a look at the linuxpluginwrapper port. Good luck if you decide to write a wrapper. Bye, Alexander. -- If Bill Gates had a dime for every time a Windows box crashed... ...Oh, wait a minute, he already does. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/