{"action":"opened","issue":{"url":"https://api.github.com/repos/veg/hyphy/issues/369","labels_url":"https://api.github.com/repos/veg/hyphy/issues/369/labels{/name}","comments_url":"https://api.github.com/repos/veg/hyphy/issues/369/comments","events_url":"https://api.github.com/repos/veg/hyphy/issues/369/events","html_url":"https://github.com/veg/hyphy/issues/369","id":122839002,"number":369,"title":"Fixing HyPhy installation issue on Ubuntu 14.04","user":{"login":"clairemcwhite","id":11052278,"avatar_url":"https://avatars.githubusercontent.com/u/11052278?v=3","gravatar_id":"","url":"https://api.github.com/users/clairemcwhite","html_url":"https://github.com/clairemcwhite","followers_url":"https://api.github.com/users/clairemcwhite/followers","following_url":"https://api.github.com/users/clairemcwhite/following{/other_user}","gists_url":"https://api.github.com/users/clairemcwhite/gists{/gist_id}","starred_url":"https://api.github.com/users/clairemcwhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clairemcwhite/subscriptions","organizations_url":"https://api.github.com/users/clairemcwhite/orgs","repos_url":"https://api.github.com/users/clairemcwhite/repos","events_url":"https://api.github.com/users/clairemcwhite/events{/privacy}","received_events_url":"https://api.github.com/users/clairemcwhite/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-17T22:41:59Z","updated_at":"2015-12-17T22:41:59Z","closed_at":null,"body":"I recently had trouble installing hyphy-2.2.6 on my Ubuntu machine, and I wanted to share my fix here. \r\n\r\n$ cmake ./ worked fine, \r\n\r\nhowever, $ make MP2 did not:\r\n\r\n\"...\r\n/usr/bin/ld: cannot find -lcrypto \r\n/usr/bin/ld: cannot find -lssl \r\ncollect2: \r\nerror: ld returned 1 exit status \r\nmake[3]: *** [HYPHYMP] Error 1 \r\nmake[2]: *** [CMakeFiles/HYPHYMP.dir/all] Error 2 \r\nmake[1]: *** [CMakeFiles/MP2.dir/rule] Error 2 \r\nmake: *** [MP2] Error 2\"\r\n\r\nThe change in CMakeLists.txt suggested for a similar problem in http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1322414552 had no effect. However, following that suggestion, I changed line 301 in CMakeLists.txt to:\r\ntarget_link_libraries(HYPHYMP crypto curl pthread ssl dl)\r\n\r\nThen $ make MP2 followed by $ make install worked fine. \r\n\r\nClaire"}}