Error while loading shared libraries:libssl.so.6

Source: Internet
Author: User

Perform scripts/mysql_install_db--user=mysql

Error when installing MySQL:

./bin/my_print_defaults:error while loading shared libraries:libssl.so.6:cannot open Shared object file:no such file o R Directory
FATAL error:neither host ' 172-16-4-12 ' nor ' localhost ' could be looked
./bin/resolveip
Please configure the ' hostname ' command to return a correct
Hostname.
If you are want to solve this in a later stage, restart this script
With the--force option


Solution:

Cd/usr/lib64


[Root@172-16-4-12 lib64]# ll *ssl*
-rwxr-xr-x 1 root root 261248 Nov 4 17:50 libssl3.so
lrwxrwxrwx 1 root Dec 10:02 libssl.so-> libssl.so.1.0.1e
lrwxrwxrwx 1 root Dec 10:02 libssl.so.10-> libssl.so.1.0.1e
-rwxr-xr-x 1 root 441256 Dec 13:16 libssl.so.1.0.1e


If so, execute the

Ln-s libssl.so.1.0.1e libssl.so.6

If this is not installed this requires downloading the installation on the Web


Similarly: Error while loading shared Libraries:libcrypto.so.6:cannot open Shared object

This error is handled in the same way.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.