php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40771 php5-mysqli-5.2.1_3 have problem after install
Submitted: 2007-03-10 07:17 UTC Modified: 2007-03-12 09:37 UTC
Votes:2
Avg. Score:2.5 ± 1.5
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: ls at ispserver dot com Assigned:
Status: Not a bug Package: MySQLi related
PHP Version: 5.2.1 OS: FreeBSD 6.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ls at ispserver dot com
New email:
PHP Version: OS:

 

 [2007-03-10 07:17 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-03-12 09:37 UTC] tony2001@php.net
Please report this problem to FreeBSD port maintainers.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 23:01:28 2024 UTC