{"action":"created","issue":{"url":"https://api.github.com/repos/Sarcasm/irony-mode/issues/196","labels_url":"https://api.github.com/repos/Sarcasm/irony-mode/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/Sarcasm/irony-mode/issues/196/comments","events_url":"https://api.github.com/repos/Sarcasm/irony-mode/issues/196/events","html_url":"https://github.com/Sarcasm/irony-mode/issues/196","id":77868569,"number":196,"title":"irony-install-server failure","user":{"login":"codekingplusplus","id":4176478,"avatar_url":"https://avatars.githubusercontent.com/u/4176478?v=3","gravatar_id":"","url":"https://api.github.com/users/codekingplusplus","html_url":"https://github.com/codekingplusplus","followers_url":"https://api.github.com/users/codekingplusplus/followers","following_url":"https://api.github.com/users/codekingplusplus/following{/other_user}","gists_url":"https://api.github.com/users/codekingplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/codekingplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codekingplusplus/subscriptions","organizations_url":"https://api.github.com/users/codekingplusplus/orgs","repos_url":"https://api.github.com/users/codekingplusplus/repos","events_url":"https://api.github.com/users/codekingplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/codekingplusplus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-19T00:34:09Z","updated_at":"2015-06-17T20:31:07Z","closed_at":null,"body":"I have been unsuccessful in properly executing the `irony-install-server` command. I have read through some prior issues and tried various options such as -DCMAKE_PREFIX_PATH, -DCMAKE_LIBCLANG_LIBRARY and -DLIBCLANG_INCLUDE_DIR. I first tried llvm/clang that comes with my Mac (running OSX 10.10.3), when that didn't work I tried `brew install llvm --with-clang.` The errors I get are of the form:\r\n\r\n`dyld: Library not loaded: @rpath/libclangAST.dylib\r\n    Referenced from: /usr/local/opt/llvm/lib/libclang.3.6.dylib\r\n    Reason: image not found`\r\n\r\nIf I execute `sudo install_name_tool -change @rpath/libclangAST.dylib /usr/local/opt/llvm/lib/libclangAST.dylib /usr/local/opt/llvm/lib/libclang.3.6.dylib` and try running `irony-install-server` again, then I get the same error message with different .dylib files (I did this a lot more than once....). I can find all of these .dylib files in the /usr/local/opt/llvm/lib/. \r\n\r\nThe command that I have run (shown in *irony-server build* buffer) is:\r\n\r\n`/opt/local/bin/cmake -DLIBCLANG_LIBRARY=/usr/local/opt/llvm/lib/libclang.3.6.dylib -DLIBCLANG_INCLUDE_DIR=/usr/local/opt/llvm/include/ -DCMAKE_PREFIX_PATH=/usr/local/opt/llvm -DCMAKE_INSTALL_PREFIX\\=/Users/thutmose/.emacs.d/irony/ /Users/thutmose/.emacs.d/elpa/irony-20150408.1501/server && /opt/local/bin/cmake --build . --use-stderr --config Release --target install`\r\n\r\nI think I have these \"PATHS\" configured correctly and I'm not sure what else to try. Please let me know if you need more information. Thanks.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Sarcasm/irony-mode/issues/comments/112940563","html_url":"https://github.com/Sarcasm/irony-mode/issues/196#issuecomment-112940563","issue_url":"https://api.github.com/repos/Sarcasm/irony-mode/issues/196","id":112940563,"user":{"login":"Sarcasm","id":424046,"avatar_url":"https://avatars.githubusercontent.com/u/424046?v=3","gravatar_id":"","url":"https://api.github.com/users/Sarcasm","html_url":"https://github.com/Sarcasm","followers_url":"https://api.github.com/users/Sarcasm/followers","following_url":"https://api.github.com/users/Sarcasm/following{/other_user}","gists_url":"https://api.github.com/users/Sarcasm/gists{/gist_id}","starred_url":"https://api.github.com/users/Sarcasm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sarcasm/subscriptions","organizations_url":"https://api.github.com/users/Sarcasm/orgs","repos_url":"https://api.github.com/users/Sarcasm/repos","events_url":"https://api.github.com/users/Sarcasm/events{/privacy}","received_events_url":"https://api.github.com/users/Sarcasm/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T20:31:07Z","updated_at":"2015-06-17T20:31:07Z","body":"Can you run ` ./bin/irony-server --version`. Not 100% sure the test binaries have the rpath set.\r\n\r\nI'm sorry, apart from that I don't know much what to do. Maybe @tsukimizake can help?\r\n\r\nMaybe you will have a better luck on stackexchange asking question about rpath and stuff. I don't know the tools to inspect the rpath, to list the libraries that aren't found, ...\r\n\r\n"}}