{"action":"closed","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/2577","labels_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/2577/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/2577/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/2577/events","html_url":"https://github.com/Homebrew/homebrew-science/issues/2577","id":97782512,"number":2577,"title":"Building gal-sim on 10.10.4 and it can't find FFTW3","user":{"login":"josePhoenix","id":172886,"avatar_url":"https://avatars.githubusercontent.com/u/172886?v=3","gravatar_id":"","url":"https://api.github.com/users/josePhoenix","html_url":"https://github.com/josePhoenix","followers_url":"https://api.github.com/users/josePhoenix/followers","following_url":"https://api.github.com/users/josePhoenix/following{/other_user}","gists_url":"https://api.github.com/users/josePhoenix/gists{/gist_id}","starred_url":"https://api.github.com/users/josePhoenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josePhoenix/subscriptions","organizations_url":"https://api.github.com/users/josePhoenix/orgs","repos_url":"https://api.github.com/users/josePhoenix/repos","events_url":"https://api.github.com/users/josePhoenix/events{/privacy}","received_events_url":"https://api.github.com/users/josePhoenix/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-07-28T19:24:55Z","updated_at":"2015-10-03T13:59:23Z","closed_at":"2015-10-03T13:59:23Z","body":"```\r\nChecking for C++ header file fftw3.h... yes\r\nChecking for correct FFTW linkage... \r\nError: fftw file failed to link correctly\r\nCheck that the correct location is specified for FFTW_DIR\r\n\r\nPlease fix the above error(s) and rerun scons.\r\nNote: you may want to look through the file INSTALL.md for advice.\r\nAlso, if you are having trouble, please check the INSTALL FAQ at \r\n   https://github.com/GalSim-developers/GalSim/wiki/Installation%20FAQ\r\n```\r\n\r\nI can't find anything relevant in the GalSim installation FAQ, and I can't figure out how to force HomeBrew to force scons to force the compiler to pass `-L/absolute/path/to/fftw/lib`.\r\n\r\nHere's a [gist](https://gist.github.com/josePhoenix/b3ba45d6df08a10c4727) with:\r\n\r\n  * [the output as seen in the terminal](https://gist.github.com/josePhoenix/b3ba45d6df08a10c4727#file-gistfile1-txt)\r\n  * [the scons output](https://gist.github.com/josePhoenix/b3ba45d6df08a10c4727#file-01-scons)\r\n  * [the scons config log](https://gist.github.com/josePhoenix/b3ba45d6df08a10c4727#file-config-log)\r\n\r\nI tried adding `ENV['LDFLAGS']='-L/Users/jlong/homebrew/Cellar/fftw/3.3.4_1/lib'` to the `gal-sim.rb` formula, but that didn't appear to be passed to the scons configure process, even though you can see it in the `LDFLAGS` in the scons output."}}