ld: library not found for -lmysqlclient_r (when trying to build mysql driver on mac)
-
wrote on 28 May 2017, 22:24 last edited by LeeH
Thanks for that. I shall leave you in peace for a while as I explore them and see how things turn out, and thanks so much for your help so far. I really appreciate it.
-
wrote on 30 May 2017, 22:17 last edited by LeeH
YEEAAH!
After another 2 days of battling, I FINALLY got it working. I had totally given up on the conventional method of doing this for mac, as it was getting me no where. I still cannot for the life of me understand why Qt didn't load this very popular driver in the release and why building this driver on mac is so difficult when I had previously got it working on windows the conventional way much easier (thanks to @SGaist and others).
Anyway Homebrew worked by installing Qt and MySql together: (this takes a very long time)
brew install qt5 --with-mysql
after that installed Qt creator:
brew cask install qt-creator
then configured MySql as normal through terminal as it seems you can't get sysprefpane this way.
Hopefully this can help others, and a big thanks to @SGaist for taking the time!
21/22