Some issues about Qt programming in building MySQL driver
I have download the Qt5.5.0 and installed it with "source component" checked. and MySQL installed either. When I tried to build the driver I got the following error
QtSql/private/qsqldriver_p.h: No such file or directory
I try to execute 'ldd libqsqlmysql.so' and I got the following response
libmysqlclient_r.so.16 => not found
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fdbee109000)
libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007fdbeded0000)
libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007fdbedcb6000)
libssl.so.10 => not found
libcrypto.so.10 => not found
How can I solve this?
Hi and welcome to devnet,
Please start by searching the forum a bit, this question has been asked many times already. You need to install the mysql dev package for your distribution then you should be able to build the plugin.
Thank you. There may be another problem. Actually there are some problems in MySQL Somehow, I'll try.
There's a known bug that has been fixed for 5.5.1, check that before going too deep.
Thank you. After I installed Qt4.8.6 via apt-get. Everything went smoothly.
Not the most clean solution, you are downgrading Qt to a series that has seen its last release a few month ago.