I managed to successfully install and run Oracle for SCO 7.3.2 on RH5.0 and
kernel 2.0.34 with re-compiled iBCS-2.0-10 module. Now I want to install
Apache 1.2.6 and PHP3 with Oracle support. So I downloaded php-3.0.tar.gz
and compiled it with:
CFLAGS="-O2 -m486 -fno-strength-reduce -I/sd2/oracle/ora73/rdbms/public"
./configure --with-apache=../apache_1.2.6 \
--disable-debug \
--with-system-regex \
--with-oracle=/sd2/oracle/ora73 \
--with-config-file-path=/etc/httpd/conf
PHP3 compiled successfully and copied libphp3.a mod_php3.[ch] php_version.h
libphp3.module to ../apache_1.2.6/src. Then I added the following to
../apache_1.2.6/src/Configuration:
EXTRA_LIBS=-L. -lphp3 -lgdbm -lresolv -lm -ldl -lcrypt
-L/sd2/oracle/ora73/lib -lclient -lsqlnet -lncr -lsqlnet -lclient -lcommon
-lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc
-lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lsocket -lnsl_s
-lcore3 -lsocket -lnsl_s
OPTIM=-O2 -m486 -fno-strength-reduce
Rule WANTHSREGEX=no
Module php3_module mod_php3.o
Then I ran "./Configure" and then "make". I got the following error message:
/sd2/oracle/ora73/lib/libclient.a: could not read symbols: File format not
recognized
make: *** [httpd] Error 1
[root@sgp210 src]# ls -l /sd2/oracle/ora73/lib/libclient.a
-rw-rw-r-- 1 oracle dba 696514 Jun 10 18:24
/sd2/oracle/ora73/lib/libclient.a
Does it mean that Linux can't link SCO libraries? What should I do next?
Thanks in advance.
Peter
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.