{"action":"created","issue":{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/905","repository_url":"https://api.github.com/repos/Linuxbrew/linuxbrew","labels_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/905/labels{/name}","comments_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/905/comments","events_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/905/events","html_url":"https://github.com/Linuxbrew/linuxbrew/issues/905","id":140065594,"number":905,"title":"Unable to locate the system's glibc - Raspbian Jessie","user":{"login":"AlexisMeza","id":10088644,"avatar_url":"https://avatars.githubusercontent.com/u/10088644?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexisMeza","html_url":"https://github.com/AlexisMeza","followers_url":"https://api.github.com/users/AlexisMeza/followers","following_url":"https://api.github.com/users/AlexisMeza/following{/other_user}","gists_url":"https://api.github.com/users/AlexisMeza/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexisMeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexisMeza/subscriptions","organizations_url":"https://api.github.com/users/AlexisMeza/orgs","repos_url":"https://api.github.com/users/AlexisMeza/repos","events_url":"https://api.github.com/users/AlexisMeza/events{/privacy}","received_events_url":"https://api.github.com/users/AlexisMeza/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/labels/build-error","name":"build-error","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"sjackman","id":291551,"avatar_url":"https://avatars.githubusercontent.com/u/291551?v=3","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-03-11T02:14:13Z","updated_at":"2016-03-11T07:30:32Z","closed_at":"2016-03-11T07:29:47Z","body":"I ran brew update twice and brew doctor. I tried this on both a Raspberry 1 Model B (RP1B) and Raspberry Pi 2 Model B (RP2B). RP2B is a clean 2016-02-09 Raspbian install with all apt-get update/updates/dist-upgrade applied while RP1B is using Raspbian that has been upgraded to Jessie over time. \r\n\r\nI tried:\r\n`brew install nginx --devel`\r\nBrew begins to install pcre dependency and stops with \"Unable to locate the system's glibc\". I have tried clearing the cache, setting export HOMEBREW_BUILD_FROM_SOURCE=1 on my .zshrc file, sourcing it and/or logging in/out and checking it with the following:\r\n`echo $(brew --env)`\r\n\r\nEach time I try to install nginx, I have the following:\r\n> Last 15 lines from /home/xxxxxx/.cache/Homebrew/Logs/pcre/01.configure:\r\n> checking whether build environment is sane... yes\r\n> checking for a thread-safe mkdir -p... /bin/mkdir -p\r\n> checking for gawk... gawk\r\n> checking whether make sets $(MAKE)... yes\r\n> checking whether make supports nested variables... yes\r\n> checking whether make supports nested variables... (cached) yes\r\n> checking for style of include used by make... GNU\r\n> checking for gcc... /usr/bin/gcc-4.9\r\n> checking whether the C compiler works... yes\r\n> checking for C compiler default output file name... a.out\r\n> checking for suffix of executables... \r\n> checking whether we are cross compiling... configure: error: in `/tmp/pcre20160310-3078-ofqrqi/pcre-8.38':\r\n> configure: error: cannot run C compiled programs.\r\n> If you meant to cross compile, use `--host'.\r\n> See `config.log' for more details\r\n\r\nOn my RP1B, I have used linuxbrew for months without issues. I tried creating a Debian x64 VM and had no issues installing nginx or any other formula.\r\n\r\nRunning brew doctor after a failed install returns:\r\n> Warning: Broken symlinks were found. Remove them with `brew prune`:\r\n>     /home/xxxxxx/.linuxbrew/lib/ld.so\r\n\r\nls -Alh that file returns\r\n> lrwxrwxrwx 1 xxx xxx 27 Mar 10 19:01 /home/xxxxxx/.linuxbrew/lib/ld.so -> /lib64/ld-linux-x86-64.so.2\r\n\r\nI have tried running brew prune which removes the link but trying to install nginx fails again with the same issue described above.\r\n\r\nThanks all!"},"comment":{"url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/comments/195232781","html_url":"https://github.com/Linuxbrew/linuxbrew/issues/905#issuecomment-195232781","issue_url":"https://api.github.com/repos/Linuxbrew/linuxbrew/issues/905","id":195232781,"user":{"login":"sjackman","id":291551,"avatar_url":"https://avatars.githubusercontent.com/u/291551?v=3","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T07:30:32Z","updated_at":"2016-03-11T07:30:32Z","body":"Did that fix it for you, Alexis?"}}