#40771 [Opn->Bgs]: php5-mysqli-5.2.1_3 have problem after install
| From: | tony2001@php.net | Date: | Mon, 12 Mar 2007 09:37:21 +0000 |
| Subject: | #40771 [Opn->Bgs]: php5-mysqli-5.2.1_3 have problem after install | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-110222@lists.php.net to get a copy of this message | ||
ID: 40771
Updated by: tony2001@php.net
Reported By: ls at ispserver dot com
-Status: Open
+Status: Bogus
Bug Type: MySQLi related
Operating System: FreeBSD 6.2
PHP Version: 5.2.1
New Comment:
Please report this problem to FreeBSD port maintainers.
Previous Comments:
------------------------------------------------------------------------
[2007-03-10 07:17:01] ls at ispserver dot com
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 this bug report at http://bugs.php.net/?id=40771&edit=1