From owner-freebsd-emulation Sat Jul 22 14:39:59 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 6C23A37B8BF for ; Sat, 22 Jul 2000 14:39:38 -0700 (PDT) (envelope-from steve@nhandtech.com) Received: from nevermore [24.162.96.204] by mail2.fiberspeed.net (SMTPD32-5.05) id A57260350216; Sat, 22 Jul 2000 17:43:14 -0400 From: "Steven Fusco" To: , "Freebsd Emulation" Subject: RE: FreeBSD + Oracle + PHP Date: Sat, 22 Jul 2000 16:40:43 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" 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) In-Reply-To: <397928AC.1E5538B0@scc.nl> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I get some funny errors when I recompile mod_php4: *** Warning: This library needs some functionality provided by -lpsa. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lcore4. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lnlsrtl3. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lpsa. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lcore4. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lnlsrtl3. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. It only restarts successfully if I have the module definitions like this: LoadModule ssl_module libexec/apache/libssl.so LoadModule php4_module libexec/apache/libphp4.so ... AddModule mod_ssl.c AddModule mod_php4.c Which to me seams like it's not loading either of those. If I take the php4 defs outside the if block it does the usual: # 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" Here's a print of what my environment looks like after I source /home/oracle/.profile and the put my $PATH together: # env PWD=/usr/local/etc/apache ORACLE_SID=ORCL PAGER=more FTP_PASSIVE_MODE=YES HOSTNAME=goliath.nhandtech.com LD_LIBRARY_PATH=/home/oracle/lib CLASSPATH=/home/oracle/jdbc/lib/classes111.zip PS1=\u@\h:\w\$ BLOCKSIZE=K USER=root MACHTYPE=i386--freebsd4.0 MAIL=/var/mail/root OLDPWD=/usr/local/etc ORACLE_BASE=/home/oracle JAVA_HOME=/compat/linux/usr/jre ORACLE_HOME=/home/oracle ORACLE_TERM=386x SHLVL=1 FORCE_PKG_REGISTER=YES ORA_NLS33=/home/oracle/ocommon/nls/admin/data SHELL=/usr/local/bin/bash HOSTTYPE=i386 OSTYPE=freebsd4.0 TERM=vt100 HOME=/root PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6 /bin:/compat/linux/bin:/compat/linux/sbin:/compat/linux/usr/bin:/compat/linu x/usr/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/home/oracle/bin NLS_LANG=american_america.us7ascii LSCOLORS=3x5x2x3x1x464301060203 _=/usr/bin/env My downfall is that I do not understand the problem that is in before me. If knew *why* it was doing it or what I was doing *wrong*, I'm sure I could figure out a way fix it. - slf -----Original Message----- From: remco@scc.nl [mailto:remco@scc.nl] Sent: Friday, July 21, 2000 11:53 PM To: Steven Fusco Subject: Re: FreeBSD + Oracle + PHP Steven Fusco wrote: > > # 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. You should compile Apache in the Linux environment as well. -- Remco Moolenaar mailto:remco@scc.nl SCC Internetworking & Databases http://www.scc.nl/ Amsterdam, The Netherlands mailto:remco@bsdapps.org Maintainer of the BSD Applications database at http://www.bsdapps.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message