|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [2010-04-21 15:14 UTC] Eduards dot Samersovs at inbox dot lv
 Description:
------------
Installed last Oracle 11gR2 database + 
oracle-instantclient11.2-basic-11.2.0.1.0-1.i386.rpm
oracle-instantclient11.2-devel-11.2.0.1.0-1.i386.rpm
I try also previous version of oracle-instantclient from 10gR2 - the result was ne same. 
Without "--with-oci8=/home/oracle/product/11.2.0/db_home1 --with-pdo-oci=/home/oracle/product/11.2.0/db_home1" options compilation is successfull!
Compiling using "root" user with full access.
./configure \
    --with-apxs2=$PREFIX/bin/apxs \
    --with-openssl \
    --with-bz2 \
    --with-zlib=/usr/local/zlib \
    --enable-sigchild \
    --without-sqlite \
    --without-pdo-sqlite \
    --with-xml --with-dom \
    --with-gettext \
    --with-iconv \
    --enable-mbstring=all \
    --enable-mbregex \
    --with-ftp \
    --with-mysql \
    --with-mcrypt=/usr \
    --with-gd --with-png-dir=/usr/lib --with-jpeg-dir=/usr/lib \
    --with-imap=/usr --with-kerberos=/usr --with-imap-ssl \
    --with-oci8=/home/oracle/product/11.2.0/db_home1 \
    --with-pdo-oci=/home/oracle/product/11.2.0/db_home1
Error:
php: threads.c:321: krb5int_key_register: Assertion `keynum >= 0 && keynum < K5_KEY_MAX' failed.
Actual result:
--------------
Generating phar.php
php: threads.c:321: krb5int_key_register: Assertion `keynum >= 0 && keynum < K5_KEY_MAX' failed.
/bin/sh: line 1: 26736 Aborted                 ` if test -x "/home/www/www-config/resource/php-5.3.2/sapi/cli/php"; then /home/www/www-config/resource/php-5.3.2/build/shtool echo -n -- "/home/www/www-config/resource/php-5.3.2/sapi/cli/php -n"; if test "x" != "x"; then /home/www/www-config/resource/php-5.3.2/build/shtool echo -n -- " -d extension_dir=/home/www/www-config/resource/php-5.3.2/modules"; for i in bz2 zlib phar; do if test -f "/home/www/www-config/resource/php-5.3.2/modules/$i.la"; then . /home/www/www-config/resource/php-5.3.2/modules/$i.la; /home/www/www-config/resource/php-5.3.2/build/shtool echo -n -- " -d extension=$dlname"; fi; done; fi; else /home/www/www-config/resource/php-5.3.2/build/shtool echo -n -- "/home/www/www-config/resource/php-5.3.2/sapi/cli/php"; fi;` -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 -d 'safe_mode=0' /home/www/www-config/resource/php-5.3.2/ext/phar/build_precommand.php > ext/phar/phar.php
make: *** [ext/phar/phar.php] Error 134
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 19:00:02 2025 UTC | 
I have duplicated this currently on versions including 5.3.6 and on Debian Squeeze, CentOS6, and Ubuntu 11.1. I've done the following steps to reproduce the issue: unzip instantclient-basic-linux32-11.2.0.2.0.zip unzip instantclient-sdk-linux32-11.2.0.2.0.zip mv instantclient_11_2/sdk/ instantclient_11_2/ sudo mkdir /usr/local/oracle mv instantclient_11_2/ /usr/local/oracle/instantclient sudo mv instantclient_11_2/ /usr/local/oracle/instantclient cd /usr/local/oracle/instantclient/ sudo ln -s /usr/local/oracle/instantclient/libclntsh.so.11.1 libclntsh.so sudo ln -s /usr/local/oracle/instantclient/libocci.so.11.1 libocci.so.11.1 sudo ln -s /usr/local/oracle/instantclient/libocci.so.11.1 libocci.so sudo ln -s /usr/local/oracle/instantclient/*.so /usr/lib mkdir lib cd lib/ sudo ln -s /usr/local/oracle/instantclient/*.so /usr/local/oracle/instantclient/lib My configure string: ./configure '--prefix=/usr/local/php-5.3.6' '--enable-cli' '--disable-debug' '--disable-rpath' '--disable-static' '--with-pic' '--with-openssl=/usr' '--enable-bcmath' '--with-bz2' '--enable-calendar' '--enable-ctype' '--with-curl' '--with-zlib-dir=/usr' '--with-xsl' '--enable-exif' '--enable-ftp' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-freetype-dir=/usr' '--with-gettext' '--with-iconv' '--with-imap' '--with-kerberos=/usr' '--with-imap-ssl=/usr' '--enable-mbstring' '--with-mcrypt' '--with-mhash' '--with-mime-magic' '--with-mysql=/usr/local/mysql-5.1.57' '--with-pcre-regex=/usr' '--with-pspell=/usr' '--enable-sockets' '--enable-wddx' '--with-xmlrpc' '--with-zlib=/usr' '--with-pear' '--with-layout=GNU' '--with-ldap' '--enable-pdo' '--enable-soap' '--with-apxs2=/usr/local/apache-2.2.19/bin/apxs' '--enable-pcntl' '--enable-mailparse' '--enable-zip' '--with-zip=/usr' '--with-bz2=/usr' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/usr/local/php-5.3.6/etc' '--with-pdo-mysql=/usr/local/mysql-5.1.57' '--with-openssl=/usr' '--enable-zip' '--with-snmp' '--with-mysqli=/usr/local/mysql-5.1.57/bin/mysql_config' '--with-phar' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-tidy' --with-oci8=instantclient,/usr/local/oracle/instantclient --with-pdo-oci=instantclient,/usr/local/oracle/instantclient,11.2.0.2 make Ran into an issue where PHP tried to compile LDAP from the Oracle SDK, removed sdk/ldap.h re-ran the above, and received the error: php: threads.c:321: krb5int_key_register: Assertion `keynum >= 0 && keynum < K5_KEY_MAX' failed. Removed the --with-kerberos option,and received: configure: error: This c-client library is built with Kerberos support. Add --with-kerberos to your configure line. Check config.log for details. Even with libc-client2007e for imap, i continue to receive the above. I only receive an issue when compiling in oci support using the 11.x family Removing all IMAP from the configure fixed the issue.