Improved(144) Qt6 on Fedora 44

2 posts / 0 new
Last post
JE8VZK
Improved(144) Qt6 on Fedora 44

I tried Improved(144) Qt6 on Fedora 44.
but no run. log001 not shown.
I was helped by AI.

@fedora:~/CqrlogImproved$ strace -f -e trace=openat /usr/bin/cqrlog 2>&1 \
| grep -E 'libmysqlclient|libmariadb'

[pid 75985] openat(AT_FDCWD, "/lib64/libmysqlclient.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (not found)
[pid 75985] openat(AT_FDCWD, "/usr/lib64/glibc-hwcaps/x86-64-v4/libmysqlclient.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (not found)
[pid 75985] openat(AT_FDCWD, "/usr/lib64/glibc-hwcaps/x86-64-v3/libmysqlclient.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (not found)
:

@fedora:~/CqrlogImproved$ sudo ln -s /usr/lib64/libmariadb.so.3 /usr/lib64/libmysqlclient.so (important)

In my PC /usr/lib64/libmysqlclient.so does Not exist, but /usr/lib64/libmariadb.so.21

oh1kh
Improved(144) Qt6 on Fedora 44

HI!
That should not happen with F44 as I am using F43 and it's latest lazarus to compile.

You can avoid this by doing extended search (Shift+Ctrl+F) to whole project using search word "TMySQL80"
You should find 6 lines in two files.
Locate them and change "80" to "57".

After that open "uInternalConnection.pas" and from start "uses" line remove "mysql80dyn, mysql80conn,"

After that it should compile normally.

I faced that when doing compile with old 32bit Mint 18 that had so.20 library and lazarus-ide 2.24

--
Saku
OH1KH