Hi Dear All: I'm trying to test persmysql, but failed with error: use_module(persmysql). /usr/bin/ld: cannot find -lmysqlclient collect2: error: ld returned 1 exit status {Dynamic link failed}
I've installed libmysqlclient18, and there exists configuration under /etc/ld.so.conf.d. I'll appreciate very much if you could tell me how to fix this issue.
Thank you very much!
Arthur Wang
Hello Arthur, Install the libmysqlclient-dev package as well.
That will install the proper libmysqlclient.so symbolic link to your libmysqlclient-18 library. And that should be the file that ld looks for (libmysqlclient.so