#40771 [NEW]: php5-mysqli-5.2.1_3 have problem after install

From: Date: Sat, 10 Mar 2007 07:17:01 +0000
Subject: #40771 [NEW]: php5-mysqli-5.2.1_3 have problem after install
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-110176@lists.php.net to get a copy of this message
From:             ls at ispserver dot com
Operating system: FreeBSD 6.2
PHP version:      5.2.1
PHP Bug Type:     MySQLi related
Bug description:  php5-mysqli-5.2.1_3 have problem after install

Description:
------------
after install php5-mysqli-5.2.1_3 extenrtion mysqli.so dont work because
cant find file

PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20060613/mysql.so' - Shared object
"libmysqlclient.so.14" not found, required by "mysql.so" in Unknown on
line 0

In server installed

mysql-client-5.0.33 Multithreaded SQL database (client)
mysql-server-5.0.33 Multithreaded SQL database (server)

Expected result:
----------------
# php -m
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20060613-debug/mysql.so' - Shared object
"libmysqlclient.so.14" not found, required by "mysql.so" in Unknown on
line 0
[PHP Modules]
bz2
ctype
curl
date
dom
filter
gd
gettext
hash
iconv
json
libxml
mbstring
mcrypt
mhash
mysqli
openssl
pcre
pdf
PDO
pdo_sqlite
posix
Reflection
session
SimpleXML
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
zlib

[Zend Modules]


Actual result:
--------------
I fix this by creating symbol link

/usr/local/lib/mysql# ln -s libmysqlclient.so libmysqlclient.so.14

lrwxr-xr-x  1 root  wheel      20 Mar 10 05:17 libmysqlclient.so ->
libmysqlclient.so.15
lrwxr-xr-x  1 root  wheel      17 Mar 10 08:37 libmysqlclient.so.14 ->
libmysqlclient.so
-rwxr-xr-x  1 root  wheel  415293 Mar 10 05:17 libmysqlclient.so.15

-- 
Edit bug report at http://bugs.php.net/?id=40771&edit=1
-- 
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40771&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40771&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40771&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=40771&r=fixedcvs
Fixed in release:             http://bugs.php.net/fix.php?id=40771&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=40771&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=40771&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=40771&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=40771&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=40771&r=notwrong
Not enough info:              http://bugs.php.net/fix.php?id=40771&r=notenoughinfo
Submitted twice:              http://bugs.php.net/fix.php?id=40771&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=40771&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40771&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=40771&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=40771&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=40771&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40771&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=40771&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=40771&r=mysqlcfg


Thread (2 messages)

« previous php.bugs (#110176) next »