Created
July 11, 2017 22:12
-
-
Save divitoDBA/24a287962eff8ba1e4b74d38efaeae69 to your computer and use it in GitHub Desktop.
PHP 5.6.31 and OCI8 2.0.12 - expected output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@server bin]# ./pecl install oci8-2.0.12 | |
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update | |
downloading oci8-2.0.12.tar ... | |
Starting to download oci8-2.0.12.tar (1,615,360 bytes) | |
.............................................................................................................................. .............................................................................................................................. ..................................................................done: 1,615,360 bytes | |
11 source files, building | |
running: phpize | |
Configuring for: | |
PHP Api Version: 20131106 | |
Zend Module Api No: 20131226 | |
Zend Extension Api No: 220131226 | |
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] : /U01/app/oracle/product/11.2.0.4/db | |
building in /tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12 | |
running: /tmp/pear/temp/oci8/configure --with-php-config=/opt/php5631/bin/php-config --with-oci8=/U01/app/oracle/product/11.2. 0.4/db | |
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 cc... cc | |
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 cc accepts -g... yes | |
checking for cc option to accept ISO C89... none needed | |
checking how to run the C preprocessor... cc -E | |
checking for icc... no | |
checking for suncc... no | |
checking whether cc understands -c and -o together... yes | |
checking for system library directory... lib | |
checking if compiler supports -R... no | |
checking if compiler supports -Wl,-rpath,... yes | |
checking build system type... x86_64-unknown-linux-gnu | |
checking host system type... x86_64-unknown-linux-gnu | |
checking target system type... x86_64-unknown-linux-gnu | |
checking for PHP prefix... /opt/php5631 | |
checking for PHP includes... -I/opt/php5631/include/php -I/opt/php5631/include/php/main -I/opt/php5631/include/php/TSRM -I/opt /php5631/include/php/Zend -I/opt/php5631/include/php/ext -I/opt/php5631/include/php/ext/date/lib | |
checking for PHP extension directory... /opt/php5631/lib/php/extensions/no-debug-non-zts-20131226 | |
checking for PHP installed headers prefix... /opt/php5631/include/php | |
checking if debug is enabled... no | |
checking if zts is enabled... no | |
checking for re2c... no | |
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. | |
checking for gawk... gawk | |
checking for Oracle Database OCI8 support... yes, shared | |
checking PHP version... 5.6.31, ok | |
checking OCI8 DTrace support... no | |
checking size of long int... 8 | |
checking checking if we're on a 64-bit platform... yes | |
checking Oracle ORACLE_HOME install directory... /U01/app/oracle/product/11.2.0.4/db | |
checking ORACLE_HOME library validity... lib | |
checking Oracle library version compatibility... 11.1 | |
checking for ld used by cc... /usr/bin/ld | |
checking if the linker (/usr/bin/ld) is GNU ld... yes | |
checking for /usr/bin/ld option to reload object files... -r | |
checking for BSD-compatible nm... /usr/bin/nm -B | |
checking whether ln -s works... yes | |
checking how to recognize dependent libraries... pass_all | |
checking dlfcn.h usability... yes | |
checking dlfcn.h presence... yes | |
checking for dlfcn.h... yes | |
checking the maximum length of command line arguments... 1966080 | |
checking command to parse /usr/bin/nm -B output from cc object... ok | |
checking for objdir... .libs | |
checking for ar... ar | |
checking for ranlib... ranlib | |
checking for strip... strip | |
checking if cc supports -fno-rtti -fno-exceptions... no | |
checking for cc option to produce PIC... -fPIC | |
checking if cc PIC flag -fPIC works... yes | |
checking if cc static flag -static works... yes | |
checking if cc supports -c -o file.o... yes | |
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes | |
checking whether -lc should be explicitly linked in... no | |
checking dynamic linker characteristics... GNU/Linux ld.so | |
checking how to hardcode library paths into programs... immediate | |
checking whether stripping libraries is possible... yes | |
checking if libtool supports shared libraries... yes | |
checking whether to build shared libraries... yes | |
checking whether to build static libraries... no | |
creating libtool | |
appending configuration tag "CXX" to libtool | |
configure: creating ./config.status | |
config.status: creating config.h | |
running: make | |
/bin/sh /tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/libtool --mode=compile cc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC - I/tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/include -I/tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/main -I/tmp/pear/ temp/oci8 -I/opt/php5631/include/php -I/opt/php5631/include/php/main -I/opt/php5631/include/php/TSRM -I/opt/php5631/include/ph p/Zend -I/opt/php5631/include/php/ext -I/opt/php5631/include/php/ext/date/lib -I/U01/app/oracle/product/11.2.0.4/db/rdbms/publ ic -I/U01/app/oracle/product/11.2.0.4/db/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8.c -o oci8.lo | |
mkdir .libs | |
cc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/include -I/tmp/pear/temp/pear- build-rootfeXSZR/oci8-2.0.12/main -I/tmp/pear/temp/oci8 -I/opt/php5631/include/php -I/opt/php5631/include/php/main -I/opt/php5 631/include/php/TSRM -I/opt/php5631/include/php/Zend -I/opt/php5631/include/php/ext -I/opt/php5631/include/php/ext/date/lib -I /U01/app/oracle/product/11.2.0.4/db/rdbms/public -I/U01/app/oracle/product/11.2.0.4/db/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /t mp/pear/temp/oci8/oci8.c -fPIC -DPIC -o .libs/oci8.o | |
/bin/sh /tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/libtool --mode=compile cc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC - I/tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/include -I/tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/main -I/tmp/pear/ temp/oci8 -I/opt/php5631/include/php -I/opt/php5631/include/php/main -I/opt/php5631/include/php/TSRM -I/opt/php5631/include/ph p/Zend -I/opt/php5631/include/php/ext -I/opt/php5631/include/php/ext/date/lib -I/U01/app/oracle/product/11.2.0.4/db/rdbms/publ ic -I/U01/app/oracle/product/11.2.0.4/db/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8_lob.c -o oci8_lob.l o | |
cc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/include -I/tmp/pear/temp/pear- build-rootfeXSZR/oci8-2.0.12/main -I/tmp/pear/temp/oci8 -I/opt/php5631/include/php -I/opt/php5631/include/php/main -I/opt/php5 631/include/php/TSRM -I/opt/php5631/include/php/Zend -I/opt/php5631/include/php/ext -I/opt/php5631/include/php/ext/date/lib -I /U01/app/oracle/product/11.2.0.4/db/rdbms/public -I/U01/app/oracle/product/11.2.0.4/db/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /t mp/pear/temp/oci8/oci8_lob.c -fPIC -DPIC -o .libs/oci8_lob.o | |
/bin/sh /tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/libtool --mode=compile cc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC - I/tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/include -I/tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/main -I/tmp/pear/ temp/oci8 -I/opt/php5631/include/php -I/opt/php5631/include/php/main -I/opt/php5631/include/php/TSRM -I/opt/php5631/include/ph p/Zend -I/opt/php5631/include/php/ext -I/opt/php5631/include/php/ext/date/lib -I/U01/app/oracle/product/11.2.0.4/db/rdbms/publ ic -I/U01/app/oracle/product/11.2.0.4/db/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8_statement.c -o oci8 _statement.lo | |
cc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/include -I/tmp/pear/temp/pear- build-rootfeXSZR/oci8-2.0.12/main -I/tmp/pear/temp/oci8 -I/opt/php5631/include/php -I/opt/php5631/include/php/main -I/opt/php5 631/include/php/TSRM -I/opt/php5631/include/php/Zend -I/opt/php5631/include/php/ext -I/opt/php5631/include/php/ext/date/lib -I /U01/app/oracle/product/11.2.0.4/db/rdbms/public -I/U01/app/oracle/product/11.2.0.4/db/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /t mp/pear/temp/oci8/oci8_statement.c -fPIC -DPIC -o .libs/oci8_statement.o | |
/bin/sh /tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/libtool --mode=compile cc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC - I/tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/include -I/tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/main -I/tmp/pear/ temp/oci8 -I/opt/php5631/include/php -I/opt/php5631/include/php/main -I/opt/php5631/include/php/TSRM -I/opt/php5631/include/ph p/Zend -I/opt/php5631/include/php/ext -I/opt/php5631/include/php/ext/date/lib -I/U01/app/oracle/product/11.2.0.4/db/rdbms/publ ic -I/U01/app/oracle/product/11.2.0.4/db/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8_collection.c -o oci 8_collection.lo | |
cc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/include -I/tmp/pear/temp/pear- build-rootfeXSZR/oci8-2.0.12/main -I/tmp/pear/temp/oci8 -I/opt/php5631/include/php -I/opt/php5631/include/php/main -I/opt/php5 631/include/php/TSRM -I/opt/php5631/include/php/Zend -I/opt/php5631/include/php/ext -I/opt/php5631/include/php/ext/date/lib -I /U01/app/oracle/product/11.2.0.4/db/rdbms/public -I/U01/app/oracle/product/11.2.0.4/db/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /t mp/pear/temp/oci8/oci8_collection.c -fPIC -DPIC -o .libs/oci8_collection.o | |
/bin/sh /tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/libtool --mode=compile cc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC - I/tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/include -I/tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/main -I/tmp/pear/ temp/oci8 -I/opt/php5631/include/php -I/opt/php5631/include/php/main -I/opt/php5631/include/php/TSRM -I/opt/php5631/include/ph p/Zend -I/opt/php5631/include/php/ext -I/opt/php5631/include/php/ext/date/lib -I/U01/app/oracle/product/11.2.0.4/db/rdbms/publ ic -I/U01/app/oracle/product/11.2.0.4/db/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8_interface.c -o oci8 _interface.lo | |
cc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/include -I/tmp/pear/temp/pear- build-rootfeXSZR/oci8-2.0.12/main -I/tmp/pear/temp/oci8 -I/opt/php5631/include/php -I/opt/php5631/include/php/main -I/opt/php5 631/include/php/TSRM -I/opt/php5631/include/php/Zend -I/opt/php5631/include/php/ext -I/opt/php5631/include/php/ext/date/lib -I /U01/app/oracle/product/11.2.0.4/db/rdbms/public -I/U01/app/oracle/product/11.2.0.4/db/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /t mp/pear/temp/oci8/oci8_interface.c -fPIC -DPIC -o .libs/oci8_interface.o | |
/bin/sh /tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/libtool --mode=link cc -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-roo tfeXSZR/oci8-2.0.12/include -I/tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/main -I/tmp/pear/temp/oci8 -I/opt/php5631/inclu de/php -I/opt/php5631/include/php/main -I/opt/php5631/include/php/TSRM -I/opt/php5631/include/php/Zend -I/opt/php5631/include/ php/ext -I/opt/php5631/include/php/ext/date/lib -I/U01/app/oracle/product/11.2.0.4/db/rdbms/public -I/U01/app/oracle/product/1 1.2.0.4/db/rdbms/demo -DHAVE_CONFIG_H -g -O2 -o oci8.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/pea r/temp/pear-build-rootfeXSZR/oci8-2.0.12/modules oci8.lo oci8_lob.lo oci8_statement.lo oci8_collection.lo oci8_interface.lo - Wl,-rpath,/U01/app/oracle/product/11.2.0.4/db/lib -L/U01/app/oracle/product/11.2.0.4/db/lib -lclntsh | |
cc -shared .libs/oci8.o .libs/oci8_lob.o .libs/oci8_statement.o .libs/oci8_collection.o .libs/oci8_interface.o -L/U01/app/or acle/product/11.2.0.4/db/lib -lclntsh -Wl,-rpath -Wl,/U01/app/oracle/product/11.2.0.4/db/lib -Wl,-soname -Wl,oci8.so -o .libs /oci8.so | |
creating oci8.la | |
(cd .libs && rm -f oci8.la && ln -s ../oci8.la oci8.la) | |
/bin/sh /tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/libtool --mode=install cp ./oci8.la /tmp/pear/temp/pear-build-rootfeX SZR/oci8-2.0.12/modules | |
cp ./.libs/oci8.so /tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/modules/oci8.so | |
cp ./.libs/oci8.lai /tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/modules/oci8.la | |
PATH="$PATH:/sbin" ldconfig -n /tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/modules | |
---------------------------------------------------------------------- | |
Libraries have been installed in: | |
/tmp/pear/temp/pear-build-rootfeXSZR/oci8-2.0.12/modules | |
If you ever happen to want to link against installed libraries | |
in a given directory, LIBDIR, you must either use libtool, and | |
specify the full pathname of the library, or use the `-LLIBDIR' | |
flag during linking and do at least one of the following: | |
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable | |
during execution | |
- add LIBDIR to the `LD_RUN_PATH' environment variable | |
during linking | |
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag | |
- have your system administrator add LIBDIR to `/etc/ld.so.conf' | |
See any operating system documentation about shared libraries for | |
more information, such as the ld(1) and ld.so(8) manual pages. | |
---------------------------------------------------------------------- | |
Build complete. | |
Don't forget to run 'make test'. | |
running: make INSTALL_ROOT="/tmp/pear/temp/pear-build-rootfeXSZR/install-oci8-2.0.12" install | |
Installing shared extensions: /tmp/pear/temp/pear-build-rootfeXSZR/install-oci8-2.0.12/opt/php5631/lib/php/extensions/no-d ebug-non-zts-20131226/ | |
running: find "/tmp/pear/temp/pear-build-rootfeXSZR/install-oci8-2.0.12" | xargs ls -dils | |
2097781 4 drwxr-xr-x. 3 root root 4096 Jul 11 17:22 /tmp/pear/temp/pear-build-rootfeXSZR/install-oci8-2.0.12 | |
2097811 4 drwxr-xr-x. 3 root root 4096 Jul 11 17:22 /tmp/pear/temp/pear-build-rootfeXSZR/install-oci8-2.0.12/opt | |
2097812 4 drwxr-xr-x. 3 root root 4096 Jul 11 17:22 /tmp/pear/temp/pear-build-rootfeXSZR/install-oci8-2.0.12/opt/php5631 | |
2097813 4 drwxr-xr-x. 3 root root 4096 Jul 11 17:22 /tmp/pear/temp/pear-build-rootfeXSZR/install-oci8-2.0.12/opt/php5631/l ib | |
2097814 4 drwxr-xr-x. 3 root root 4096 Jul 11 17:22 /tmp/pear/temp/pear-build-rootfeXSZR/install-oci8-2.0.12/opt/php5631/l ib/php | |
2097815 4 drwxr-xr-x. 3 root root 4096 Jul 11 17:22 /tmp/pear/temp/pear-build-rootfeXSZR/install-oci8-2.0.12/opt/php5631/l ib/php/extensions | |
2097816 4 drwxr-xr-x. 2 root root 4096 Jul 11 17:22 /tmp/pear/temp/pear-build-rootfeXSZR/install-oci8-2.0.12/opt/php5631/l ib/php/extensions/no-debug-non-zts-20131226 | |
2097810 496 -rwxr-xr-x. 1 root root 506340 Jul 11 17:22 /tmp/pear/temp/pear-build-rootfeXSZR/install-oci8-2.0.12/opt/php5631/l ib/php/extensions/no-debug-non-zts-20131226/oci8.so | |
Build process completed successfully | |
Installing '/opt/php5631/lib/php/extensions/no-debug-non-zts-20131226/oci8.so' | |
install ok: channel://pecl.php.net/oci8-2.0.12 | |
configuration option "php_ini" is not set to php.ini location | |
You should add "extension=oci8.so" to php.ini | |
[root@server bin]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment