From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 11 05:14:45 2003 Return-Path: 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 5F62937B401 for ; Fri, 11 Jul 2003 05:14:45 -0700 (PDT) Received: from mx3.absolight.com (mx3.absolight.net [212.43.217.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2E3443FBD for ; Fri, 11 Jul 2003 05:14:43 -0700 (PDT) (envelope-from mat@mat.cc) Received: by mx3.absolight.com (Postfix, from userid 1007) id A92762A26; Fri, 11 Jul 2003 14:14:42 +0200 (CEST) X-Original-To: emulation@freebsd.org Received: from andromede.reaumur.absolight.net (andromede.reaumur.absolight.net [212.43.217.61]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client did not present a certificate) by mx3.absolight.com (Postfix) with ESMTP id 210F92A08; Fri, 11 Jul 2003 14:14:41 +0200 (CEST) Date: Fri, 11 Jul 2003 14:14:31 +0200 From: Mathieu Arnold To: emulation@freebsd.org Message-ID: <271588653.1057932871@andromede.reaumur.absolight.net> In-Reply-To: <1221896043.1057591649@andromede.reaumur.absolight.net> References: <1221896043.1057591649@andromede.reaumur.absolight.net> X-Mailer: Mulberry/3.0.3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline cc: questions@freebsd.org Subject: Re: PHP with Oracle 8i ? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 11 Jul 2003 12:14:45 -0000 +-le 07/07/2003 15:27 +0200, Mathieu Arnold =E9crivait : | Hi, |=20 | I recently migrated a Linux web server to FreeBSD, and I now need to put | back OCI8 support into PHP. I tried to compile it with the old linux | version, but apache cores dump, so, not good :) |=20 | So, any ideas would be really appreciated :) |=20 | The worst solution would be to run the old linux httpd + mod_php on a | local IP and use the new one as a proxy... But, well, not really what I | wanted to do in the first place :) I've finally got it installed, thanks to : I compiled php with it, but, well, it seems it can't do anything with it... With apache+mod_php, it cores dump with : (gdb) bt #0 0x28123257 in strncmp () from /usr/lib/libc.so.4 #1 0x28ff416c in __DTOR_END__ () from /usr/compat/linux/lib//libc.so.6 #2 0x28f1c7da in _init (arg=3D0x2808ac68) at ../sysdeps/unix/sysv/linux/init-first.c:87 #3 0x2807aacf in find_symdef () from /usr/libexec/ld-elf.so.1 #4 0x2807b3ef in dlopen () from /usr/libexec/ld-elf.so.1 #5 0x8067b17 in ap_os_dso_load () and with only php : (gdb) bt #0 0x28d75257 in strncmp () from /usr/lib/libc.so.4 #1 0x28ea516c in __DTOR_END__ () from /usr/compat/linux/lib//libc.so.6 #2 0x28dcd7da in _init (arg=3D0x281ccc68) at ../sysdeps/unix/sysv/linux/init-first.c:87 #3 0x281bcacf in find_symdef () from /usr/libexec/ld-elf.so.1 #4 0x281bb9a4 in _rtld () from /usr/libexec/ld-elf.so.1 I don't really see what I could do to prevent this. Does anyone ever got it to work ? --=20 Mathieu Arnold