Gcc: /usr/lib/mysql/libmysqlclient.so: No such file or directory

If you get the error:

gcc: /usr/lib/mysql/libmysqlclient.so: No such file or directory

when compiling php, type:

ln -s /usr/lib/libmysqlclient.so /usr/lib/mysql/libmysqlclient.so

then recompile again.


Was this article helpful?

mood_bad Dislike 1
mood Like 0
visibility Views: 7334