This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

missing libmariadb.so.3 on redhat 7

I have tried just about everything. But an app that has worked before does not because libmariadb.so.3 is missing. I have done a find from / and there are no libmaria files at all.

This is what I did to install:

cat > /etc/yum.repos.d/MariaDB.repo <<- "EOF" #Need mariadb 10.2 (or later, presently defaults to 5.5)
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.2/rhel7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
EOF

echo " installing maria-db/mysql..." | tee -a /var/log/zmpLinuxSetup.log
yum install -y MariaDB-server MariaDB-client &>> /var/log/zmpLinuxSetup.log

The above does install maridb in as far as the mysql command line works.
However, I have an app that links in mysql-connector-c++-1.1.9. And that app produces the missing lib error.

[root@zvrhes update_redhat_1.7.32739_32740]# mysql -u root -pxxxx
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 10
Server version: 10.2.8-MariaDB MariaDB Server

Copyright © 2000, 2017, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]>

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.