Edit report at http://bugs.php.net/bug.php?id=51625&edit=1

 ID:                 51625
 Comment by:         thinice at gmail dot com
 Reported by:        Eduards dot Samersovs at inbox dot lv
 Summary:            php: threads.c:321: krb5int_key_register: Assertion
                     `keynum >= 0 && keynum < K5
 Status:             Assigned
 Type:               Bug
 Package:            OCI8 related
 Operating System:   Ubuntu 9.10
 PHP Version:        5.3.2
 Assigned To:        sixd
 Block user comment: N
 Private report:     N

 New Comment:

This happened to me after an upgrade from Debian Lenny to Debian
Squeeze. Attempted a fresh compile and got identical error. 



php 5.3.5 with oci8 instantclient. 



./configure --prefix=/usr --with-config-file-path=/etc/php5
--with-config-file-scan-dir=/etc/php5/apache2/conf.d
--with-exec-dir=/usr/lib/php5/libexec --mandir=/usr/share/man
--enable-cli --enable-sysvsem --enable-mbstring --enable-sockets
--enable-soap --with-apxs2=/usr/bin/apxs2 --with-iconv --with-curl
--with-zlib --with-openssl --with-ldap --with-mysql --with-mysqli
--with-tidy --with-xmlrpc
--with-oci8=instantclient,/opt/oracle/instantclient_11_1 --with-gd
--enable-gd-native-ttf --with-jpeg-dir=/usr --with-xpm-dir=/usr/X11R6
--with-png-dir=/usr --with-freetype-dir=/usr --with-t1lib=/usr
--with-mssql --enable-soap --with-imap --with-imap-ssl --with-kerberos
--with-xsl --with-pspell


Previous Comments:
------------------------------------------------------------------------
[2010-05-04 15:02:19] Eduards dot Samersovs at inbox dot lv

I trying compiling with “instantclient” and “shared” with OCI8 &
PDO_OCI and without – playing with the different kind of options the
result was the same! Now I installed latest Oracle database from 10gR2
series and everything compiles fine! Seems problem exist with Oracle
11g.

------------------------------------------------------------------------
[2010-04-22 03:00:33] s...@php.net

I haven't been able to set up an enviroment to test your options.  One

thought is to build PHP without OCI8 & PDO_OCI, and then install them

later as shared extensions.



There are a couple of potential inconsistencies in the bug report.

Why install Instant Client if the DB libraries are available and used

by the configure options?  Were you using RPMs on Ubuntu, or the ZIP

files?  Some of the configuration options mentioned don't exist in PHP

5.3.  The syntax for --with-pdo-oci is missing the version number.

------------------------------------------------------------------------
[2010-04-21 15:14:42] 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


------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=51625&edit=1

Reply via email to