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:
I resolved the issue by manually downloading libc-client2007e, Updating
'--with-imap' config str to point to the libc-client2007e dir,
(--with-imap=/path/to/libc-client2007e --with-imap-ssl). This allowed me
to drop the '--with-kerberos' directive and elminating the error.
Previous Comments:
------------------------------------------------------------------------
[2011-02-21 01:38:02] thinice at gmail dot com
Using:
./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 --disable-phar
Console snip:
--------------
Build complete.
Don't forget to run 'make test'.
mhd-www:~/php-5.3.5# make install
Installing PHP SAPI module: apache2handler
/usr/share/apache2/build/instdso.sh
SH_LIBTOOL='/usr/share/apr-1.0/build/libtool' libphp5.la
/usr/lib/apache2/modules
/usr/share/apr-1.0/build/libtool --mode=install cp libphp5.la
/usr/lib/apache2/modules/
libtool: install: cp .libs/libphp5.so
/usr/lib/apache2/modules/libphp5.so
libtool: install: cp .libs/libphp5.lai
/usr/lib/apache2/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/root/php-5.3.5/libs'
chmod 644 /usr/lib/apache2/modules/libphp5.so
[preparing module `php5' in /etc/apache2/mods-available/php5.load]
Module php5 already enabled
Installing PHP CLI binary: /usr/bin/
Installing PHP CLI man page: /usr/share/man/man1/
Installing build environment: /usr/lib/php/build/
Installing header files: /usr/include/php/
Installing helper programs: /usr/bin/
program: phpize
program: php-config
Installing man pages: /usr/share/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/lib/php/
php: threads.c:321: krb5int_key_register: Assertion `keynum >= 0 &&
keynum < K5_KEY_MAX' failed.
Aborted
make[1]: *** [install-pear-installer] Error 134
make: *** [install-pear] Error 2
------------------------------------------------------------------------
[2011-02-20 23:36:57] thinice at gmail dot com
Another side note, I removed '--with-imap --with-imap-ssl
--with-kerberos' from my config and compile+install was successful. This
isn't completely oci8's fault...
Working config - changed from my post above:
./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-xsl --with-pspell
------------------------------------------------------------------------
[2011-02-20 23:31:22] thinice at gmail dot com
A possible solution: http://ubuntuforums.org/showthread.php?t=1434835
I will try this and add a remark.
------------------------------------------------------------------------
[2011-02-20 23:28:09] thinice at gmail dot com
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
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=51625
--
Edit this bug report at http://bugs.php.net/bug.php?id=51625&edit=1