{"action":"created","issue":{"url":"https://api.github.com/repos/virtualstaticvoid/heroku-buildpack-r/issues/54","labels_url":"https://api.github.com/repos/virtualstaticvoid/heroku-buildpack-r/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/virtualstaticvoid/heroku-buildpack-r/issues/54/comments","events_url":"https://api.github.com/repos/virtualstaticvoid/heroku-buildpack-r/issues/54/events","html_url":"https://github.com/virtualstaticvoid/heroku-buildpack-r/issues/54","id":110577014,"number":54,"title":"gfortran: fatal error while installing glmnet","user":{"login":"MasatoTDSM","id":7625353,"avatar_url":"https://avatars.githubusercontent.com/u/7625353?v=3","gravatar_id":"","url":"https://api.github.com/users/MasatoTDSM","html_url":"https://github.com/MasatoTDSM","followers_url":"https://api.github.com/users/MasatoTDSM/followers","following_url":"https://api.github.com/users/MasatoTDSM/following{/other_user}","gists_url":"https://api.github.com/users/MasatoTDSM/gists{/gist_id}","starred_url":"https://api.github.com/users/MasatoTDSM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MasatoTDSM/subscriptions","organizations_url":"https://api.github.com/users/MasatoTDSM/orgs","repos_url":"https://api.github.com/users/MasatoTDSM/repos","events_url":"https://api.github.com/users/MasatoTDSM/events{/privacy}","received_events_url":"https://api.github.com/users/MasatoTDSM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-09T02:32:57Z","updated_at":"2015-10-18T18:26:57Z","closed_at":null,"body":"I would like to use glmnet and other libraries which using fortran library (CBLAS)\r\n\r\nI tried to install glmnet like \r\n\r\n```r\r\ninstall.package(\"glmnet\")\r\n```\r\n\r\nin **init.r** \r\n\r\nhowever, it could not installed.\r\n\r\nI received following error message. \r\n\r\n```bash\r\nremote: gfortran: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found\r\nremote: compilation terminated.\r\n```\r\n\r\nIt seems the buildpack does not use dyno's but liblto_plugin.so.\r\n\r\nWould you be kindly to update the binary package to include the library?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/virtualstaticvoid/heroku-buildpack-r/issues/comments/149036845","html_url":"https://github.com/virtualstaticvoid/heroku-buildpack-r/issues/54#issuecomment-149036845","issue_url":"https://api.github.com/repos/virtualstaticvoid/heroku-buildpack-r/issues/54","id":149036845,"user":{"login":"virtualstaticvoid","id":79077,"avatar_url":"https://avatars.githubusercontent.com/u/79077?v=3","gravatar_id":"","url":"https://api.github.com/users/virtualstaticvoid","html_url":"https://github.com/virtualstaticvoid","followers_url":"https://api.github.com/users/virtualstaticvoid/followers","following_url":"https://api.github.com/users/virtualstaticvoid/following{/other_user}","gists_url":"https://api.github.com/users/virtualstaticvoid/gists{/gist_id}","starred_url":"https://api.github.com/users/virtualstaticvoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtualstaticvoid/subscriptions","organizations_url":"https://api.github.com/users/virtualstaticvoid/orgs","repos_url":"https://api.github.com/users/virtualstaticvoid/repos","events_url":"https://api.github.com/users/virtualstaticvoid/events{/privacy}","received_events_url":"https://api.github.com/users/virtualstaticvoid/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T18:26:57Z","updated_at":"2015-10-18T18:26:57Z","body":"This is a tough one. I've managed to replicate the issue, but haven't been able to sort it out yet.\r\n\r\n`liblto_plugin.so` exists within `/usr/lib` on the Heroku instance, but the linker isn't finding it. I've tried adding it to `LD_LIBRARY_PATH` and `LDFLAGS` but it gets ignored and fails with the same error.\r\n\r\nI've also tried disabling link time optimization, with `-fno-lto -fno-use-linker-plugin`, but then compiling `glmnet` fails with other errors.\r\n\r\nNot sure what more to do on this."}}