Saturday, August 10, 2013

Troubleshooting missing lib in CENTOS 6 (RHEL compatible)

Error message:

[mysql@rh6 mysql]$ ./support-files/binary-configure
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you.  If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.

WARNING: The host 'rh6.dbaglobe.com' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing MySQL system tables...
./bin/mysqld: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory

Find the right package:
[mysql@rh6 mysql]$ yum whatprovides libssl.so.6
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
* base: mirror.rndc.or.id
* extras: mirror.upsi.edu.my
* rpmforge: repoforge.spinellicreations.com
* updates: centosx4.centos.org
openssl098e-0.9.8e-17.el6.centos.2.i686 : A compatibility version of a general cryptography and TLS library
Repo        : base
Matched from:
Other       : libssl.so.6

Take note that for x64 server, page “openssl098e-0.9.8e-17.el6.centos.2.x86_64” shall be installed

No comments:

Post a Comment