[bug-notifications] [php5_mysql 0004149]: Cannot find libmysqlclient.so.15

Mantis Bug Tracker noreply at opencsw.org
Thu Feb 18 21:46:50 CET 2010


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/bugtrack/view.php?id=4149 
====================================================================== 
Reported By:                dorix
Assigned To:                
====================================================================== 
Project:                    php5_mysql
Issue ID:                   4149
Category:                   upgrade
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2010-01-12 18:51 CET
Last Modified:              2010-02-18 21:46 CET
====================================================================== 
Summary:                    Cannot find libmysqlclient.so.15
Description: 
Since a recent upgrade of the Mysql5 packages, php5_mysql's mysql.so file
cannot find its required libmysqlclient.so.15 library anymore.

I have worked around this by:

ln -s /opt/csw/mysql5/lib/mysql /opt/csw/lib/mysql
====================================================================== 

---------------------------------------------------------------------- 
 (0007476) skayser (administrator) - 2010-02-18 21:46
 http://www.opencsw.org/bugtrack/view.php?id=4149#c7476 
---------------------------------------------------------------------- 
Problem with PHP's mysql.so persists. Looks as if the symlink points one
directory too high. 

# pkgparam CSWmysql5rt VERSION
5.0.87,REV=2010.02.08

# grep /opt/csw/lib/mysql /var/sadm/install/contents 
/opt/csw/lib/mysql=../../mysql5/lib/mysql s none CSWmysql5rt
# cd /opt/csw/lib/
# ls -l mysql
lrwxrwxrwx   1 root     root          22 Feb 18 19:24 mysql ->
../../mysql5/lib/mysql
# cd ../../mysql5/lib/mysql
bash: cd: ../../mysql5/lib/mysql: No such file or directory
# ls -ld /opt/csw/mysql5/lib/mysql 
drwxr-xr-x   2 root     bin          512 Feb 18 19:24
/opt/csw/mysql5/lib/mysql

Re-pointing the link does the job (notice the single ../ instead of
../../).

# rm mysql
# ln -s ../mysql5/lib/mysql .    
# ls -l mysql
lrwxrwxrwx   1 root     root          19 Feb 18 21:45 mysql ->
../mysql5/lib/mysql
# cd mysql
# ls
64                          libmysqlclient.so.15       
libmysqlclient_r.so         libmysqlclient_r.so.15.0.0  sparcv9
libmysqlclient.so           libmysqlclient.so.15.0.0   
libmysqlclient_r.so.15      sparcv8



More information about the bug-notifications mailing list