{"action":"created","issue":{"url":"https://api.github.com/repos/skycocker/chromebrew/issues/142","repository_url":"https://api.github.com/repos/skycocker/chromebrew","labels_url":"https://api.github.com/repos/skycocker/chromebrew/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/skycocker/chromebrew/issues/142/comments","events_url":"https://api.github.com/repos/skycocker/chromebrew/issues/142/events","html_url":"https://github.com/skycocker/chromebrew/issues/142","id":129934894,"number":142,"title":"configure: error: C compiler cannot create executables [SOLVED]","user":{"login":"thedamian","id":2957660,"avatar_url":"https://avatars.githubusercontent.com/u/2957660?v=3","gravatar_id":"","url":"https://api.github.com/users/thedamian","html_url":"https://github.com/thedamian","followers_url":"https://api.github.com/users/thedamian/followers","following_url":"https://api.github.com/users/thedamian/following{/other_user}","gists_url":"https://api.github.com/users/thedamian/gists{/gist_id}","starred_url":"https://api.github.com/users/thedamian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thedamian/subscriptions","organizations_url":"https://api.github.com/users/thedamian/orgs","repos_url":"https://api.github.com/users/thedamian/repos","events_url":"https://api.github.com/users/thedamian/events{/privacy}","received_events_url":"https://api.github.com/users/thedamian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-01-30T03:35:08Z","updated_at":"2016-04-11T19:53:38Z","closed_at":null,"body":"So I think I've fixed the lines that usually include: \r\n\r\nconfigure: error: C compiler cannot create executables\r\nSee `config.log' for more details\r\nlibsigsegv failed to install: `./configure ..... exited with 77\r\n\r\nSo if you DO open the \"config.log\"\r\nand you'll find some reference to the conpiler NOT finding libmpc.so.2\r\n\r\nThis line seemed to fix it for me:\r\n\r\nln -s /usr/local/lib64/libmpc.so.3 /usr/local/lib64/libmpc.so.2\r\n\r\nbefore I do a pull request for the install.sh PLEASE tell me what I'm doing is WRONG or is it GENIUS?"},"comment":{"url":"https://api.github.com/repos/skycocker/chromebrew/issues/comments/208528955","html_url":"https://github.com/skycocker/chromebrew/issues/142#issuecomment-208528955","issue_url":"https://api.github.com/repos/skycocker/chromebrew/issues/142","id":208528955,"user":{"login":"trisk","id":207920,"avatar_url":"https://avatars.githubusercontent.com/u/207920?v=3","gravatar_id":"","url":"https://api.github.com/users/trisk","html_url":"https://github.com/trisk","followers_url":"https://api.github.com/users/trisk/followers","following_url":"https://api.github.com/users/trisk/following{/other_user}","gists_url":"https://api.github.com/users/trisk/gists{/gist_id}","starred_url":"https://api.github.com/users/trisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trisk/subscriptions","organizations_url":"https://api.github.com/users/trisk/orgs","repos_url":"https://api.github.com/users/trisk/repos","events_url":"https://api.github.com/users/trisk/events{/privacy}","received_events_url":"https://api.github.com/users/trisk/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T19:53:38Z","updated_at":"2016-04-11T19:53:38Z","body":"Hitting this on a fresh install on CloudReady x86_64 if I use `crew install` for anything that requires the compiler, e.g. `crew install libsigsegv`.\r\n\r\nThe actual error is:\r\n```\r\n/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.8.1/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory\r\n```\r\nThese files exist:\r\n```\r\nlrwxrwxrwx 1 chronos chronos     11 Oct  7  2013 /usr/local/lib/libmpc.so.2 -> libmpc.so.3\r\nlrwxrwxrwx 1 chronos chronos     15 Oct  6  2013 /usr/local/lib/libmpc.so.3 -> libmpc.so.3.0.0\r\n-rwxr-xr-x 1 chronos chronos 471981 Oct  6  2013 /usr/local/lib/libmpc.so.3.0.0\r\n```\r\nBut there isn't a copy of libmpc in `/usr/local/lib64`, so it appears gcc can't run on x86_64.\r\n\r\n@thedamian\r\nSomeone needs to rebuild gcc against the correct libmpc version and *ship that version*."}}