From owner-freebsd-emulation Fri Jul 21 15:44:11 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from mail2.fiberspeed.net (mail2.fiberspeed.net [63.67.198.6]) by hub.freebsd.org (Postfix) with ESMTP id ABDE037C143 for ; Fri, 21 Jul 2000 15:44:02 -0700 (PDT) (envelope-from steve@nhandtech.com) Received: from nevermore [24.162.96.204] by mail2.fiberspeed.net (SMTPD32-5.05) id A30D39530206; Fri, 21 Jul 2000 18:47:41 -0400 From: "Steven Fusco" To: , Subject: FreeBSD + Oracle + PHP Date: Fri, 21 Jul 2000 17:45:12 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is regarding your usenet post: Remco Moolenaar wrote: > > > I can only wonder that maybe it doesn't want to go with > > 4.0 fbsd. Does anyone know if it needs to be 3.? fbsd. > > Or doesn't the fbsd version matter?????????? Try following the handbook line by line. I do not want to be picky, but this is absolutely necessary. Questions: - Is Linux installed? - You need Linux_base and development version 5.2 installed into an empty /compat/linux - Did you create an oracle acount using /compat/linux/bin/bash as its shell? - Did you run the root.sh after the Oracle installation (it is in $ORACLE_HOME/orainst) - Is shared memory installed? - Did you recreated a new kernel and rebooted? I know, some stupid questions, but anyway. Another remark: you can use the Linux libs to create your own Oracle development environment. I did this for several OCI programs. I will probably work for PHP as well!! ------ end of message ------ This last comment is akin to the problem I'm having. I've got Oracle (from what I can tell) working with listeners ready and a test database going that I've inserted values in using sqlplus. However, now I'm trying to get PHP4 to see it. I've edited the ports makefile in mod_php4 and added -with-oracle=/home/oracle, along with these symlinks: # ll /usr/local/lib | g compat lrwxr-xr-x 1 root wheel 35 Jul 21 13:49 ld-linux.so.2@ -> /usr/compat/linux/lib/ld-linux.so.2 lrwxr-xr-x 1 root wheel 31 Jul 21 13:48 libc.so.6@ -> /usr/compat/linux/lib/libc.so.6 lrwxr-xr-x 1 root wheel 31 Jul 21 13:47 libcrypt.so.1@ -> /compat/linux/lib/libcrypt.so.1 lrwxr-xr-x 1 root wheel 32 Jul 21 13:48 libdl.so.2@ -> /usr/compat/linux/lib/libdl.so.2 lrwxr-xr-x 1 root wheel 27 Jul 21 13:46 libm.so.6@ -> /compat/linux/lib/libm.so.6 lrwxr-xr-x 1 root wheel 30 Jul 21 12:26 libnsl.a@ -> /compat/linux/usr/lib/libnsl.a lrwxr-xr-x 1 root wheel 31 Jul 21 12:26 libnsl.so@ -> /compat/linux/usr/lib/libnsl.so lrwxr-xr-x 1 root wheel 31 Jul 21 13:46 libnsl.so.1@ -> /compat/linux/usr/lib/libnsl.so GCC compiles successfully now, but after the port modifies apache.conf with the new mod_php4 entries it's attempting to sighup the server. This is what I get: # apachectl configtest Syntax error on line 239 of /usr/local/etc/apache/apache.conf: Cannot load /usr/local/libexec/apache/libphp4.so into server: /home/oracle/lib/libclntsh.so.1.0: Undefined symbol "slpmprodstab" ARG! If you've any idea that could point me in the right direction, I'm afraid it is incredibly urgent I get this working. ____________ Steven Fusco - nHand Technologies PGP: http://nhandtech.com/pgp/sfusco.asc main(i){putchar(341513875>>(i-1)*5&31|!!(i<6)<<6)&&main(++i);} To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message