Hi,

I'm not able to build a DSO-modul of php-3.0.18 for Apache 1.3.12 with
connection ORACLE 8.1.7.

I have two scenarios:


1. Link with shared library "libclntsh.a" is succesfull,
the php-modul for Apache (DSO-modul, libphp3.so) is not runable. 
Starting Apache I get the error message:

        cannot load libphp3.so into server: Exec format error


2. Link without shared library "libclntsh.a" is not successfull, because of
a lot of errors:
Here are my link statement and the error messages:

ld -L/usr/HTTPServer/apachesrc/apache-1.3/src/regex -lregex -H512 -T512 -bha
lt:4 -bM:SRE -bnoentry -bI:/usr/HTTPServer/libexec/httpd.exp -lc -o
libphp3.so mod_php3.o
libmodphp3-so.a 
-L/usr/local/lib 
-L/opt/oracle/products/8.1.7/lib 
-L/opt/oracle/products/8.1.7/rdbms/lib 
-L/usr/local/lib/mysql
/opt/oracle/products/8.1.7/rdbms/lib/ssdbaed.o
/opt/oracle/products/8.1.7/rdbms/lib/kpudfo.o
/opt/oracle/products/8.1.7/lib/nautab.o
/opt/oracle/products/8.1.7/lib/naeet.o
/opt/oracle/products/8.1.7/lib/naect.o
/opt/oracle/products/8.1.7/lib/naedhs.o
/opt/oracle/products/8.1.7/rdbms/lib/kpuadef.o 
-bI:/opt/oracle/products/8.1.7/rdbms/lib/xa.imp 
-bI:/opt/oracle/products/8.1.7/lib/pw-syscall.exp 
-bI:/opt/oracle/products/8.1.7/lib/ksms.imp 
-lmysqlclient -ldl -lc -lpthreads -lodm
-lm -lbsd_r -lld -lm -lbind -lclient8 -lcommon8 -lgeneric8 -lnls8 
-lcore8 -lsql8 -lpls8 -ltrace8 -lldapclnt8 -lwtc8 -ln8 
-lnl8 -lnro8 -lnbeq8 -lnhost8 
-lnus8 -lnldap8 -lldapclnt8 -lnsslb8 -ln8 -lncrypt8 -ln8 
-lncrypt8 -lnoname8
-lntcp8 -lntcps8 -lnsslb8 -lnent8 -lntcp8 -lntns8
/lib/crt0_r.o -ldl -lc -lpthreads -lodm -lm 
-lbsd_r -lld -bE:mod_php3.exp 
-R/opt/oracle/products/8.1.7/lib 
-R/usr/local/lib/mysql
ld: 0706-027 The -R /opt/oracle/products/8.1.7/lib flag is ignored.
ld: 0706-027 The -R /usr/local/lib/mysql flag is ignored.
ld: 0711-317 ERROR: Undefined symbol: .sbtinfo
ld: 0711-317 ERROR: Undefined symbol: .sbtremove
ld: 0711-317 ERROR: Undefined symbol: .sbtinit
ld: 0711-317 ERROR: Undefined symbol: .sbtclose
ld: 0711-317 ERROR: Undefined symbol: .sbtread
ld: 0711-317 ERROR: Undefined symbol: .sbtwrite
ld: 0711-317 ERROR: Undefined symbol: .sbtopen
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
apxs:Break: Command failed with rc=524288

Cheers

Rainer Hartwig.


PLEASE: Can you send me your answer additionally direct to
mailto:[EMAIL PROTECTED]
Thanks.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to