Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jul 2000 16:40:43 -0500
From:      "Steven Fusco" <steve@nhandtech.com>
To:        <remco@scc.nl>, "Freebsd Emulation" <freebsd-emulation@FreeBSD.ORG>
Subject:   RE: FreeBSD + Oracle + PHP
Message-ID:  <KFECJLAFCJJEFHHFHFCMAEDHCGAA.steve@nhandtech.com>
In-Reply-To: <397928AC.1E5538B0@scc.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
<IfDefine SSL>
LoadModule ssl_module         libexec/apache/libssl.so
LoadModule php4_module        libexec/apache/libphp4.so
</IfDefine>
...
<IfDefine SSL>
AddModule mod_ssl.c
AddModule mod_php4.c
</IfDefine>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?KFECJLAFCJJEFHHFHFCMAEDHCGAA.steve>