Hello all,
I'm trying to compile php 4.2.3 on AIX UNIX 5.2 with
apache 1.3.27 with support for an Oracle database, and
I'm having problems.
PHP itself seems to compile ok. Here's my configure
command:
./configure --with-apxs=/usr/sbin/apxs
--enable-force-cgi-redirect --enable-safe-mode
--enable-magic-quotes --without-mysql
--with-oci8=/oracle/app/oracle/product/8.1.7
--enable-sigchild --enable-shared
After running this command, I then execute 'make'.
Then, I copy the libphp4.so.0 from the ./.libs
directory to the ./libs directory as the filename
libphp4.so. Next is the 'make install' and copy the
php.ini-dist to /usr/local/lib/php.ini. Finally, I add
the following three lines to the appropriate places in
httpd.conf for apache:
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php
When I try to restart apache, I receive the following
error:
Syntax error on line 236 of
/etc/opt/freeware/apache/httpd.conf:
Cannot load /opt/freeware/apache/libexec/libphp4.so
into server: 0509-130 Symbol resolution failed
for
/oracle/app/oracle/product/8.1.7/lib/libclntsh.a(shr.o)
because:
0509-136 Symbol pw_post (number 258) is not
exported from
dependent module /unix.
0509-136 Symbol pw_wait (number 259) is not
exported from
dependent module /unix.
0509-136 Symbol pw_config (number 260) is
not exported from
dependent module /unix.
0509-136 Symbol aix_ora_pw_version3_required
(number 261) is not exported from
dependent module /unix.
0509-192 Examine .loader section symbols with
the
'dump -Tv' command.
I've gotten Oracle 8.1.7 installed. I've also gotten
this to work on AIX 5.1. Can anyone help me out?
Thanks!
-Stephen Spalding
__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools