{"action":"created","issue":{"url":"https://api.github.com/repos/sunqm/pyscf/issues/35","repository_url":"https://api.github.com/repos/sunqm/pyscf","labels_url":"https://api.github.com/repos/sunqm/pyscf/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/sunqm/pyscf/issues/35/comments","events_url":"https://api.github.com/repos/sunqm/pyscf/issues/35/events","html_url":"https://github.com/sunqm/pyscf/pull/35","id":167233330,"number":35,"title":"A dependence problem for compiling libxc_itrf.so","user":{"login":"latrix","id":16337006,"avatar_url":"https://avatars.githubusercontent.com/u/16337006?v=3","gravatar_id":"","url":"https://api.github.com/users/latrix","html_url":"https://github.com/latrix","followers_url":"https://api.github.com/users/latrix/followers","following_url":"https://api.github.com/users/latrix/following{/other_user}","gists_url":"https://api.github.com/users/latrix/gists{/gist_id}","starred_url":"https://api.github.com/users/latrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latrix/subscriptions","organizations_url":"https://api.github.com/users/latrix/orgs","repos_url":"https://api.github.com/users/latrix/repos","events_url":"https://api.github.com/users/latrix/events{/privacy}","received_events_url":"https://api.github.com/users/latrix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-24T13:23:24Z","updated_at":"2016-07-24T16:17:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sunqm/pyscf/pulls/35","html_url":"https://github.com/sunqm/pyscf/pull/35","diff_url":"https://github.com/sunqm/pyscf/pull/35.diff","patch_url":"https://github.com/sunqm/pyscf/pull/35.patch"},"body":"Compiling libxc_itrf.so need the dependence of libxc.so which is in  deps/lib64. However, in CMakeLists.txt, the link_directories is set as :\r\n\r\n link_directories(${PROJECT_SOURCE_DIR}/deps/lib)\r\n\r\nSo  the link.txt in xc_itrf.dir has not correct link path. It can not find -lxc.\r\n\r\nI added the deps/lib64 path in link_directories. But I feel it is ugly. It should have  an elegant solution?  I am not sure, maybe find_library() or target_link_libraries().  \r\n\r\nThank you :)"},"comment":{"url":"https://api.github.com/repos/sunqm/pyscf/issues/comments/234786106","html_url":"https://github.com/sunqm/pyscf/pull/35#issuecomment-234786106","issue_url":"https://api.github.com/repos/sunqm/pyscf/issues/35","id":234786106,"user":{"login":"sunqm","id":1524636,"avatar_url":"https://avatars.githubusercontent.com/u/1524636?v=3","gravatar_id":"","url":"https://api.github.com/users/sunqm","html_url":"https://github.com/sunqm","followers_url":"https://api.github.com/users/sunqm/followers","following_url":"https://api.github.com/users/sunqm/following{/other_user}","gists_url":"https://api.github.com/users/sunqm/gists{/gist_id}","starred_url":"https://api.github.com/users/sunqm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunqm/subscriptions","organizations_url":"https://api.github.com/users/sunqm/orgs","repos_url":"https://api.github.com/users/sunqm/repos","events_url":"https://api.github.com/users/sunqm/events{/privacy}","received_events_url":"https://api.github.com/users/sunqm/received_events","type":"User","site_admin":false},"created_at":"2016-07-24T16:17:05Z","updated_at":"2016-07-24T16:17:05Z","body":"Maybe the libdir flag of configure depends on OS in some other way.  Let's now just include lib64 as workaround."}}
{"actor":{"display_login":"sunqm"}}