PHP + Oracle Instant client

onegroup

Well-Known Member
Hallo,

hat jemand von euch eventl. die Konfiguration am laufen?

ich habe aus den ports

/database/linux-oracle-instantclient-basic-10.1.0.3
/database/linux-oracle-instantclient-sdk-10.1.0.3

installiert.


Danach in

/usr/ports/lang/php4/Makefile.ext

oracle

CONFIGURE_ARGS+=--with-oci8-instant-client=/compat/linux/usr/include/oracle/10.1.0.3/client/

oder

CONFIGURE_ARGS+=--with-oci8-instant-client=/compat/linux/usr/include/oracle/10.1.0.3/client/lib

dazugefügt und den vorhandenen Rest entfernt.

Dann nach php-extension gesprungen und den install angeschmissen und dabei oracle ausgewählt.

Leider bekomme ich folgende Meldung:

===> Verifying install for /usr/local/lib/php/20020429/oracle.so in /usr/ports/databases/php4-oracle
===> php4-oracle-4.3.11 depends on executable: phpize - found
===> php4-oracle-4.3.11 depends on file: /usr/local/bin/automake15 - found
===> php4-oracle-4.3.11 depends on file: /usr/local/bin/autoconf253 - found
===> PHPizing for php4-oracle-4.3.11
autoheader253: `config.h.in' is unchanged
Configuring for:
PHP Api Version: 20020918
Zend Module Api No: 20020429
Zend Extension Api No: 20021010
===> Configuring for php4-oracle-4.3.11
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd5.3
checking host system type... i386-portbld-freebsd5.3
checking for i386-portbld-freebsd5.3-gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking whether cc understands -c and -o together... yes
checking if compiler supports -R... yes
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM
checking for PHP extension directory... /usr/local/lib/php/20020429
checking for re2c... exit 0;
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for Oracle-ORACLE support... yes, shared
checking Oracle Install-Dir...
checking Oracle version... configure: error: Oracle needed libraries not found


Ich dachte eigentlich das die SDK die Libraries sind?

Kann mir jemand einen Tipp geben!

Danke!

Gruss

Steffen
 
Back
Top