Re: CentOS 64 bit php 5.2 huge problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




On Feb 12, 2011, at 7:28 PM, Peter Ivanov wrote:

PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ mysql.so' - libmysqlclient.so.15: cannot open shared object file: No such file or directory in Unknown on line 0

Run
ldd /usr/lib64/php/modules/mysql.so
and list the output.

It should look something like:

[root@localhost ~]# ldd /usr/lib64/php/modules/mysql.so
libmysqlclient.so.15 => /usr/lib64/mysql/libmysqlclient.so.15 (0x00002b180136f000)
	libc.so.6 => /lib64/libc.so.6 (0x00002b18016e0000)
	libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00002b1801a37000)
	libnsl.so.1 => /lib64/libnsl.so.1 (0x00002b1801c70000)
	libm.so.6 => /lib64/libm.so.6 (0x00002b1801e88000)
	libssl.so.6 => /lib64/libssl.so.6 (0x00002b180210b000)
	libcrypto.so.6 => /lib64/libcrypto.so.6 (0x00002b1802358000)
	libz.so.1 => /usr/lib64/libz.so.1 (0x00002b18026a9000)
	/lib64/ld-linux-x86-64.so.2 (0x0000003bd6a00000)
libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00002b18028bd000)
	libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00002b1802aec000)
	libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00002b1802d81000)
	libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00002b1802f83000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00002b18031a9000)
libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00002b18033ad000)
	libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00002b18035b5000)
	libresolv.so.2 => /lib64/libresolv.so.2 (0x00002b18037b8000)
	libselinux.so.1 => /lib64/libselinux.so.1 (0x00002b18039cd000)
	libsepol.so.1 => /lib64/libsepol.so.1 (0x00002b1803be6000)
[root@localhost ~]#

If it can't find libmysqlclient, you can work around the deeper issue by running ln -s /usr/lib64/mysql/libmysqlclient.so.15 /usr/lib64/ libmysqlclient.so.15

and see if that 'fixes' it.

<<attachment: smime.p7s>>

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux