{"id":130,"date":"2015-11-17T13:53:46","date_gmt":"2015-11-17T12:53:46","guid":{"rendered":"http:\/\/techblog.vindvejr.dk\/?p=130"},"modified":"2015-11-17T13:53:46","modified_gmt":"2015-11-17T12:53:46","slug":"building-php-after-installing-mysql-5-7","status":"publish","type":"post","link":"https:\/\/techblog.vindvejr.dk\/?p=130","title":{"rendered":"Building PHP after installing MySQL 5.7"},"content":{"rendered":"<p>I got the following error when trying to build PHP 5.6.14\/5.6.15 after upgrading to MySQL 5.7:<\/p>\n<pre>\r\nconfigure: error: Cannot find libmysqlclient_r under \/usr\/local\/mysql.\r\nNote that the MySQL client library is not bundled anymore!\r\n<\/pre>\n<p>I added this to my build script in order to create the missing symbolic links:<\/p>\n<pre>\r\ncd \/usr\/local\/mysql\/lib\r\nfor f in libmysqlclient.so*; do ln -s $f $(echo $f | sed s\/libmysqlclient\/libmysqlclient_r\/); done\r\nln -s libmysqlclient.a libmysqlclient_r.a\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I got the following error when trying to build PHP 5.6.14\/5.6.15 after upgrading to MySQL 5.7: configure: error: Cannot find libmysqlclient_r under \/usr\/local\/mysql. Note that the MySQL client library is not bundled anymore! I added this to my build script &hellip; <a href=\"https:\/\/techblog.vindvejr.dk\/?p=130\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-130","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/techblog.vindvejr.dk\/index.php?rest_route=\/wp\/v2\/posts\/130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techblog.vindvejr.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techblog.vindvejr.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techblog.vindvejr.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techblog.vindvejr.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=130"}],"version-history":[{"count":1,"href":"https:\/\/techblog.vindvejr.dk\/index.php?rest_route=\/wp\/v2\/posts\/130\/revisions"}],"predecessor-version":[{"id":131,"href":"https:\/\/techblog.vindvejr.dk\/index.php?rest_route=\/wp\/v2\/posts\/130\/revisions\/131"}],"wp:attachment":[{"href":"https:\/\/techblog.vindvejr.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techblog.vindvejr.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techblog.vindvejr.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}