rpm installation error

[root@openstack ~]# yum install mariadb-server
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
rhel-7-server-extras-rpms                                                                                                                            | 2.0 kB  00:00:00
rhel-7-server-optional-rpms                                                                                                                          | 2.0 kB  00:00:00
rhel-7-server-rpms                                                                                                                                   | 2.0 kB  00:00:00
rhel-7-server-satellite-tools-6.2-rpms                                                                                                               | 2.1 kB  00:00:00
Resolving Dependencies
--> Running transaction check
---> Package mariadb-server.x86_64 3:10.1.20-2.el7 will be installed
--> Processing Dependency: mariadb-errmsg(x86-64) = 3:10.1.20-2.el7 for package: 3:mariadb-server-10.1.20-2.el7.x86_64
--> Processing Dependency: socat for package: 3:mariadb-server-10.1.20-2.el7.x86_64
--> Processing Dependency: perl(Data::Dumper) for package: 3:mariadb-server-10.1.20-2.el7.x86_64
--> Processing Dependency: perl(DBI) for package: 3:mariadb-server-10.1.20-2.el7.x86_64
--> Processing Dependency: perl(DBD::mysql) for package: 3:mariadb-server-10.1.20-2.el7.x86_64
--> Processing Dependency: lsof for package: 3:mariadb-server-10.1.20-2.el7.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: 3:mariadb-server-10.1.20-2.el7.x86_64
--> Running transaction check
---> Package lsof.x86_64 0:4.87-4.el7 will be installed
---> Package mariadb-errmsg.x86_64 3:10.1.20-2.el7 will be installed
---> Package mariadb-server.x86_64 3:10.1.20-2.el7 will be installed
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: 3:mariadb-server-10.1.20-2.el7.x86_64
---> Package perl-DBD-MySQL.x86_64 0:4.023-5.el7 will be installed
---> Package perl-DBI.x86_64 0:1.627-4.el7 will be installed
--> Processing Dependency: perl(RPC::PlServer) >= 0.2001 for package: perl-DBI-1.627-4.el7.x86_64
--> Processing Dependency: perl(RPC::PlClient) >= 0.2000 for package: perl-DBI-1.627-4.el7.x86_64
---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed
---> Package socat.x86_64 0:1.7.2.2-5.el7 will be installed
--> Running transaction check
---> Package mariadb-server.x86_64 3:10.1.20-2.el7 will be installed
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: 3:mariadb-server-10.1.20-2.el7.x86_64
---> Package perl-PlRPC.noarch 0:0.2020-14.el7 will be installed
--> Processing Dependency: perl(Net::Daemon) >= 0.13 for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Compress::Zlib) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Running transaction check
---> Package mariadb-server.x86_64 3:10.1.20-2.el7 will be installed
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: 3:mariadb-server-10.1.20-2.el7.x86_64
---> Package perl-IO-Compress.noarch 0:2.061-2.el7 will be installed
--> Processing Dependency: perl(Compress::Raw::Zlib) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
--> Processing Dependency: perl(Compress::Raw::Bzip2) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
---> Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed
--> Running transaction check
---> Package mariadb-server.x86_64 3:10.1.20-2.el7 will be installed
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: 3:mariadb-server-10.1.20-2.el7.x86_64
---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed
---> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed
--> Finished Dependency Resolution
Error: Package: 3:mariadb-server-10.1.20-2.el7.x86_64 (openstack-pike)
           Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Uploading Enabled Repositories Report
Loaded plugins: product-id
ittechlabLinux SupportAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

arnoldCommented:
rpm -qa | grep -I openssl

The version of OpenSSL based on the error foes not match the 1.0.2,mariadb depends on.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
I recommend you go ahead + start by installing MariaDB by adding the MariaDB run repository + installing 10.0.2.x rather than 10.0.1.x, to pull in all latest performance enhancements.

https://downloads.mariadb.org/mariadb/repositories/#mirror=nodesdirect&distro=RedHat + choose your RedHat version + follow instructions provided.

Now about SSL.

Sigh... The problem with RedHat, well one of many problems, is they lag way behind latest versions of software RH7 ships kernel 3.10 whereas Debian/Ubuntu ships 4.13 + as for openssl RH7 only support 1.0.1e (per RH7 docs), so you won't be able to install MariaDB or any other software which depends on latest stable openssl.

There are a few fixes.

If possible, deinstall RH7 + Install Ubuntu Zesty. I'd skip Artful for now, unless you'd like to wrestle with the netplan changes which have been rolled in. Unless you're a Command Line + Linux Networking Savant, use Zesty + wait till Bionic releases to upgrade.

If you can't install a modern OS, modern meaning all stable code is supported/packaged, then you'll have to build OpenSSL from source + then arrange MariaDB to pickup your custom OpenSSL build in it's startup scripts.

Follow instructions in your loader docs for how best to do this, in your runtime environment by reading...

man ld 

Open in new window

0
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Poster seems to have stopped posting.

No response to either suggestions provided.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.