Hint running CQRLOG on Fedora with MySQL

1 post / 0 new
dh9fax
Hint running CQRLOG on Fedora with MySQL

Hi,

I'm running Fedora 28 currently and had CQRLOG running before on 27 and earlier. After upgrading I discovered a problem installing TQSL, which I need for upload to LOTW. TQSL needs MySQL server, but Fedora installs MariaDB, an open source alternative to MySQL. So I erased MariaDB and it's dependencies (e.g. CQRLOG), and installed MySQL. Now TQSL is running. Fine! But stop, now I reinstalled CQRLOG, but this is not starting, because it is looking for MariaDB instead of MySQL. By the way: I installed TQSL from source (with cmake and make), and all others from the Fedora repositories.

After some research I found a hint here in the forum about similar issues with a Mint installation. I adapted what I had found, and modified it regarding what I found in the MariaDB RPM file. Here is the simple solution which might help others with same or similar issues:

### First check if file libmariadb.so.3 is present:
# cd /usr/lib64/
# ls -l libmariadb.so.3
...No such file or directory

### Check if the corresponding MySQL file is there:
# ls -l /usr/lib64/mysql/libmysqlclient.so.20
lrwxrwxrwx. 1 root root 25 4. Okt 08:27 /usr/lib64/mysql/libmysqlclient.so.20 -> libmysqlclient.so.20.3.11

### Create a symbolic link in /usr/lib64/
# ln -s mysql/libmysqlclient.so.20 libmariadb.so.3
# ls -l /usr/lib64/libmariadb.so.3
lrwxrwxrwx. 1 root root 26 31. Okt 02:47 /usr/lib64/libmariadb.so.3 -> mysql/libmysqlclient.so.20

After this change CQRLOG is working using MySQL, and TQSL is also still working. I'm happy!

Best 73 to all of you
Reiner, DH9FAX