{"action":"created","issue":{"url":"https://api.github.com/repos/BVLC/caffe/issues/3806","repository_url":"https://api.github.com/repos/BVLC/caffe","labels_url":"https://api.github.com/repos/BVLC/caffe/issues/3806/labels{/name}","comments_url":"https://api.github.com/repos/BVLC/caffe/issues/3806/comments","events_url":"https://api.github.com/repos/BVLC/caffe/issues/3806/events","html_url":"https://github.com/BVLC/caffe/issues/3806","id":140234050,"number":3806,"title":"dyld: Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib","user":{"login":"lenhhoxung86","id":2775370,"avatar_url":"https://avatars.githubusercontent.com/u/2775370?v=3","gravatar_id":"","url":"https://api.github.com/users/lenhhoxung86","html_url":"https://github.com/lenhhoxung86","followers_url":"https://api.github.com/users/lenhhoxung86/followers","following_url":"https://api.github.com/users/lenhhoxung86/following{/other_user}","gists_url":"https://api.github.com/users/lenhhoxung86/gists{/gist_id}","starred_url":"https://api.github.com/users/lenhhoxung86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenhhoxung86/subscriptions","organizations_url":"https://api.github.com/users/lenhhoxung86/orgs","repos_url":"https://api.github.com/users/lenhhoxung86/repos","events_url":"https://api.github.com/users/lenhhoxung86/events{/privacy}","received_events_url":"https://api.github.com/users/lenhhoxung86/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-11T16:52:20Z","updated_at":"2016-05-03T18:24:08Z","closed_at":"2016-03-21T00:03:22Z","body":"Hello, I'm new to caffe and I'm installing it on my MacbookPro (Yosemite). Everything is fine except the final step \"make runtest\". It throws the following error:\r\n\r\n```\r\n.build_release/tools/caffe\r\ndyld: Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib\r\n  Referenced from: /usr/local/opt/opencv/lib/libopencv_highgui.2.4.dylib\r\n  Reason: image not found\r\nmake: *** [runtest] Trace/BPT trap: 5\r\n```\r\nI've located libpng16.6:\r\n`locate libpng16.16.dylib`\r\n`/Library/Python/2.7/site-packages/matplotlib/.dylibs/libpng16.16.dylib`\r\n`/usr/local/Cellar/libpng/1.6.21/lib/libpng16.16.dylib`\r\nCan you help fix?\r\n"},"comment":{"url":"https://api.github.com/repos/BVLC/caffe/issues/comments/216620205","html_url":"https://github.com/BVLC/caffe/issues/3806#issuecomment-216620205","issue_url":"https://api.github.com/repos/BVLC/caffe/issues/3806","id":216620205,"user":{"login":"jerpint","id":18450628,"avatar_url":"https://avatars.githubusercontent.com/u/18450628?v=3","gravatar_id":"","url":"https://api.github.com/users/jerpint","html_url":"https://github.com/jerpint","followers_url":"https://api.github.com/users/jerpint/followers","following_url":"https://api.github.com/users/jerpint/following{/other_user}","gists_url":"https://api.github.com/users/jerpint/gists{/gist_id}","starred_url":"https://api.github.com/users/jerpint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerpint/subscriptions","organizations_url":"https://api.github.com/users/jerpint/orgs","repos_url":"https://api.github.com/users/jerpint/repos","events_url":"https://api.github.com/users/jerpint/events{/privacy}","received_events_url":"https://api.github.com/users/jerpint/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T18:24:08Z","updated_at":"2016-05-03T18:24:08Z","body":"you might need to change permissions too : https://thornelabs.net/2014/12/08/libpng-not-symlinking-when-installing-imagemagick-on-os-x-yosemite.html\r\n\r\nRun the following\r\n\r\n```\r\nsudo chown -R my_osx_short_username:admin /usr/local/share/man/man5\r\nbrew link libpng\r\n```"}}