What is difference between libmysqlclient.a and libmysqlclient_r.a?

Van Nguyen picture Van Nguyen · Dec 20, 2010 · Viewed 8.2k times · Source

Which should I use to link for mysqlclient library? What is the difference between them? I can't seem to find the answer. Thanks.

Answer

Garett Long picture Garett Long · Aug 30, 2011

Newer versions of the MySQL client distributions do not include the "_r" version. Some may have a symbolic link from libmyqslclient_r.a to libmyqslclient.a