ID:               34015
 Updated by:       [EMAIL PROTECTED]
 Reported By:      RVaughn at pheedo dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Unknown/Other Function
 Operating System: RHEL 3.0
 PHP Version:      4.4.0
 New Comment:

It does't look for any libraries (and this is obvius from its source).
Fix your system or remove these extensions from your php.ini
Not PHP problem.


Previous Comments:
------------------------------------------------------------------------

[2005-08-05 22:23:31] RVaughn at pheedo dot com

Description:
------------
The 'php_gr_jp_16242.phpt' test script does not look in the proper
place for PHP-required libraries, note they look in
'/usr/local/lib/php/20020429' (what the heck is that?) vs. the correct
spot: '/usr/lib/php4'.  Note that this is listed in the '/etc/php.ini'
file:

; UNIX: "/path1:/path2"
include_path = ".:/php/includes:/usr/lib/php4:/usr/local/lib/php"

Errors:

PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/local/lib/php/20020429/imap.so' -
/usr/local/lib/php/20020429/imap.so: cannot open shared object file: No
such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/local/lib/php/20020429/ldap.so' -
/usr/local/lib/php/20020429/ldap.so: cannot open shared object file: No
such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/local/lib/php/20020429/mhash.so' -
/usr/local/lib/php/20020429/mhash.so: cannot open shared object file:
No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/local/lib/php/20020429/mysql.so' -
/usr/local/lib/php/20020429/mysql.so: cannot open shared object file:
No such file or directory in Unknown on line 0

This is on a Red Hat Enterprise 3.0 system with the following configure
settings:

./configure 2>configure.err '--host=i386-redhat-linux'
'--build=i386-redhat-linux' '--target=i386-redhat-linux-gnu'
'--cache-file=../config.cache' '--with-config-file-path=/etc'
'--with-config-file-scan-dir=/etc/php.d' '--enable-force-cgi-redirect'
'--disable-debug' '--enable-pic' '--disable-rpath'
'--enable-inline-optimization' '--with-bz2' '--with-db4=/usr'
'--with-curl' '--with-freetype-dir=/usr' '--with-png-dir=/usr'
'--with-gd' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext'
'--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr'
'--with-openssl' '--with-png' '--with-aspell' '--with-regex=system'
'--with-xml' '--with-expat-dir=/usr' '--with-dom=shared,/usr'
'--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--with-xmlrpc=shared'
'--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU'
'--enable-bcmath' '--enable-exif' '--enable-ftp'
'--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets'
'--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path'
'--enable-track-vars' '--enable-trans-sid' '--disable-yp'
'--enable-wddx' '--without-oci8' '--with-pear=/usr/share/pear'
'--with-kerberos' '--with-mysql=shared,/usr' '--with-snmp=shared,/usr'
'--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared'
'--enable-memory-limit' '--enable-bcmath' '--enable-shmop'
'--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal'
'--enable-mbstring=/usr/lib/php4/' '--enable-mbstr-enc-trans'
'--enable-mbregex' '--with-apxs2=/usr/sbin/apxs' | tee configure.out

Reproduce code:
---------------
The test script .../ext/mbstring/tests/php_gr_jp_16242.phpt in the PHP
4.4 distro will reproduce this error on this platform.

Expected result:
----------------
The output of the code is correct except for these weird warnings:

[...warnings removed...]
string(8) "Japanese"
string(5) "UTF-8"
string(5) "UTF-8"


Actual result:
--------------
---- EXPECTED OUTPUT
string(8) "Japanese"
string(5) "UTF-8"
string(5) "UTF-8"
---- ACTUAL OUTPUT
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/local/lib/php/200\
20429/imap.so' - /usr/local/lib/php/20020429/imap.so: cannot open
shared object\
 file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/local/lib/php/200\
20429/ldap.so' - /usr/local/lib/php/20020429/ldap.so: cannot open
shared object\
 file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/local/lib/php/200\
20429/mhash.so' - /usr/local/lib/php/20020429/mhash.so: cannot open
shared obje\
ct file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/local/lib/php/200\
20429/mysql.so' - /usr/local/lib/php/20020429/mysql.so: cannot open
shared obje\
ct file: No such file or directory in Unknown on line 0
string(8) "Japanese"
string(5) "UTF-8"
string(5) "UTF-8"



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


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

Reply via email to