{"action":"created","issue":{"url":"https://api.github.com/repos/lyst/lightfm/issues/25","labels_url":"https://api.github.com/repos/lyst/lightfm/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/lyst/lightfm/issues/25/comments","events_url":"https://api.github.com/repos/lyst/lightfm/issues/25/events","html_url":"https://github.com/lyst/lightfm/issues/25","id":107194909,"number":25,"title":"Cannot find plugin 'liblto_plugin.so'","user":{"login":"oddskool","id":805252,"avatar_url":"https://avatars.githubusercontent.com/u/805252?v=3","gravatar_id":"","url":"https://api.github.com/users/oddskool","html_url":"https://github.com/oddskool","followers_url":"https://api.github.com/users/oddskool/followers","following_url":"https://api.github.com/users/oddskool/following{/other_user}","gists_url":"https://api.github.com/users/oddskool/gists{/gist_id}","starred_url":"https://api.github.com/users/oddskool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oddskool/subscriptions","organizations_url":"https://api.github.com/users/oddskool/orgs","repos_url":"https://api.github.com/users/oddskool/repos","events_url":"https://api.github.com/users/oddskool/events{/privacy}","received_events_url":"https://api.github.com/users/oddskool/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-18T12:40:23Z","updated_at":"2015-09-24T11:33:55Z","closed_at":null,"body":"Hi,\r\n\r\nWhen trying to compile the software on Mac OS X (Yosemite) with GCC installed with brew I get the following error:\r\n```bash\r\n14:35 $ python setup.py install\r\n...\r\nbuilding 'lightfm.lightfm_fast' extension\r\ngcc-ranlib-4.9 -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/e/Anaconda/anaconda/envs/py3k/include -arch x86_64 -I/Users/e/Anaconda/anaconda/envs/py3k/include/python3.3m -c lightfm/lightfm_fast.c -o build/temp.macosx-10.5-x86_64-3.3/lightfm/lightfm_fast.o -fopenmp -march=native -ffast-math\r\ngcc-ranlib-4.9: Cannot find plugin 'liblto_plugin.so'\r\nerror: command 'gcc-ranlib-4.9' failed with exit status 1\r\n```\r\n\r\nI cannot find any liblto_plugin.so or liblto_plugin.dlyb on my system.\r\n\r\nI tried to `brew install llvm` and `conda install llvmpy` but with no success :(\r\n\r\nAny hint on how to fix that  ?"},"comment":{"url":"https://api.github.com/repos/lyst/lightfm/issues/comments/142903499","html_url":"https://github.com/lyst/lightfm/issues/25#issuecomment-142903499","issue_url":"https://api.github.com/repos/lyst/lightfm/issues/25","id":142903499,"user":{"login":"oddskool","id":805252,"avatar_url":"https://avatars.githubusercontent.com/u/805252?v=3","gravatar_id":"","url":"https://api.github.com/users/oddskool","html_url":"https://github.com/oddskool","followers_url":"https://api.github.com/users/oddskool/followers","following_url":"https://api.github.com/users/oddskool/following{/other_user}","gists_url":"https://api.github.com/users/oddskool/gists{/gist_id}","starred_url":"https://api.github.com/users/oddskool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oddskool/subscriptions","organizations_url":"https://api.github.com/users/oddskool/orgs","repos_url":"https://api.github.com/users/oddskool/repos","events_url":"https://api.github.com/users/oddskool/events{/privacy}","received_events_url":"https://api.github.com/users/oddskool/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T11:33:55Z","updated_at":"2015-09-24T11:33:55Z","body":"Yes I do. \r\n\r\nTrying to compile with the brew python (2.7.9) in the path instead of the Anaconda one still triggers the \"no such instruction\" error.\r\n\r\nSo it seems that the error may be more related to something else (cpu architecture detection maybe?).\r\n\r\nThe gcc command with brew python:\r\n```bash\r\ngcc-4.9 -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c lightfm/lightfm_fast.c -o build/temp.macosx-10.9-x86_64-2.7/lightfm/lightfm_fast.o -fopenmp -march=native -ffast-math\r\n```\r\n\r\nOutput of `uname -a`:\r\n```\r\nDarwin 14.4.0 Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64 x86_64\r\n```\r\n\r\nThis is a MacBookAir under Yosemite.\r\n\r\nAt this point I managed to get past the issue and I believe it is likely related to a library or configuration you use, so maybe a sensible thing to do is to keep this thread for other users..."}}