Hi ich bin dabei OCI8 auf debian einzurichten/zu konfigurieren.
Habe meinen instantclient und sdk in /opt/oracle/instantclient.
Mein Problem besteht darin das ich mir folgendes nicht erklären
kan hoffe mir kann jemand helfen.
ich führe den Befehl "pecl install oci8" aus
downloading oci8-1.3.3.tgz ...
Starting to download oci8-1.3.3.tgz (127,320 bytes)
.....................done: 127,320 bytes
10 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
Please provide the path to the ORACLE_HOME directory. Use 'instantclient,/path/to/instant/client/lib' if you're compiling with Oracle Instant Client [autodetect] : instantclient,/opt/oracle/instantclient/instantclient_11_1
building in /var/tmp/pear-build-root/oci8-1.3.3
running: /tmp/pear/cache/oci8-1.3.3/configure --with-oci8=instantclient,/opt/oracle/instantclient/instantclient_11_1
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... 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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
checking for PHP extension directory... /usr/lib/php5/20060613+lfs
checking for PHP installed headers prefix... /usr/include/php5
checking for re2c... re2c
checking for re2c version... 0.9.12 (ok)
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for Oracle (OCI8) support... yes, shared
checking PHP version... 5.2.0, ok
checking for long int... yes
checking size of long int... 4
checking Oracle Instant Client directory... /opt/oracle/instantclient/instantclient_11_1
checking Oracle Instant Client SDK header directory... /opt/oracle/instantclient/instantclient_11_1/sdk/include
checking Oracle Instant Client version... configure: error: Link from /opt/oracle/instantclient/instantclient_11_1/libclntsh.so to libclntsh.so.11.1 not found
warum erhalte ich da einen Link error ???
Habe meinen instantclient und sdk in /opt/oracle/instantclient.
Mein Problem besteht darin das ich mir folgendes nicht erklären
kan hoffe mir kann jemand helfen.
ich führe den Befehl "pecl install oci8" aus
downloading oci8-1.3.3.tgz ...
Starting to download oci8-1.3.3.tgz (127,320 bytes)
.....................done: 127,320 bytes
10 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
Please provide the path to the ORACLE_HOME directory. Use 'instantclient,/path/to/instant/client/lib' if you're compiling with Oracle Instant Client [autodetect] : instantclient,/opt/oracle/instantclient/instantclient_11_1
building in /var/tmp/pear-build-root/oci8-1.3.3
running: /tmp/pear/cache/oci8-1.3.3/configure --with-oci8=instantclient,/opt/oracle/instantclient/instantclient_11_1
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... 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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
checking for PHP extension directory... /usr/lib/php5/20060613+lfs
checking for PHP installed headers prefix... /usr/include/php5
checking for re2c... re2c
checking for re2c version... 0.9.12 (ok)
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for Oracle (OCI8) support... yes, shared
checking PHP version... 5.2.0, ok
checking for long int... yes
checking size of long int... 4
checking Oracle Instant Client directory... /opt/oracle/instantclient/instantclient_11_1
checking Oracle Instant Client SDK header directory... /opt/oracle/instantclient/instantclient_11_1/sdk/include
checking Oracle Instant Client version... configure: error: Link from /opt/oracle/instantclient/instantclient_11_1/libclntsh.so to libclntsh.so.11.1 not found
warum erhalte ich da einen Link error ???