From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 11 06:16:28 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 BEB6937B401; Fri, 11 Jul 2003 06:16:28 -0700 (PDT) Received: from scotth.emsphone.com (scotth.emsphone.com [199.67.51.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id E082E43FA3; Fri, 11 Jul 2003 06:16:27 -0700 (PDT) (envelope-from shildret@scotth.emsphone.com) Received: from scotth.emsphone.com (localhost [127.0.0.1]) by scotth.emsphone.com (8.12.6/8.12.3) with ESMTP id h6BDGR6L011697; Fri, 11 Jul 2003 08:16:27 -0500 (CDT) (envelope-from shildret@scotth.emsphone.com) Received: (from shildret@localhost) by scotth.emsphone.com (8.12.6/8.12.3/Submit) id h6BDGQFK011696; Fri, 11 Jul 2003 08:16:26 -0500 (CDT) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <271588653.1057932871@andromede.reaumur.absolight.net> Date: Fri, 11 Jul 2003 08:16:26 -0500 (CDT) Sender: shildret@scotth.emsphone.com From: shildreth@emsphone.com To: Mathieu Arnold cc: emulation@freebsd.org 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 13:16:29 -0000 I don't use php, but I do use Perl DBI/DBD::Oracle, and I had to use a Linux compiled Perl,DBD::Oracle, & DBI with the Oracle libraries. If you are using mod_php you will need to compile mod_php, apache under the linux emu-enviorment. (if you didn't already). On 11-Jul-2003 Mathieu Arnold wrote: > > > +-le 07/07/2003 15:27 +0200, Mathieu Arnold écrivait : >| Hi, >| >| 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 :) >| >| So, any ideas would be really appreciated :) >| >| 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=0x2808ac68) 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=0x281ccc68) 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 ? > > -- > Mathieu Arnold > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org" > ---------------------------------- E-Mail: shildreth@emsphone.com Date: 11-Jul-2003 Time: 08:13:02 ----------------------------------