Issue
Summary I try to install MYSQL community edition 8.0 on my Amazon Linux server
Command i have done so far
cd /home/ec2-user
wget href="https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.16-2.el7.x86_64.rpm-bundle.tar" rel="nofollow noreferrer">https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.16-2.el7.x86_64.rpm-bundle.tar
tar -xvf mysql-8.0.16-2.el7.x86_64.rpm-bundle.tar
rpm -ivh mysql-community-server-8.0.16-2.el7.x86_64.rpm
I get the following error : error: Failed dependencies: libsasl2.so.3()(64bit) is needed by mysql-community-server-8.0.16-2.el7.x86_64 systemd is needed by mysql-community-server-8.0.16-2.el7.x86_64
What i tried by now The library libsasl2.so.3()(64bit) is included in cyrus-sasl-lib I tried to install it but still the same result Here is the command i tried : sudo yum install cyrus-sasl-lib
Operating System Linux ip-172-31-86-163 4.14.146-93.123.amzn1.x86_64 #1 SMP Tue Sep 24 00:45:23 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Expected Result : Success
Error Message i have : Failed dependencies: libsasl2.so.3()(64bit) is needed by mysql-community-server-8.0.16-2.el7.x86_64
Solution
try
yum install /path/to/mysql-8...rpm
then yum
will try to find the dependencies you need. If some dependencies cannot be found, you can try downloading them yourself, or enabling repositories. But be careful since you are trying to install recent software on an old os... I don't know if amazon has centos8 machines already, otherwise that would probably help you out :)
Answered By - Chris Maes Answer Checked By - Timothy Miller (WPSolving Admin)