{"action":"created","issue":{"url":"https://api.github.com/repos/haskell-opengl/GLUT/issues/19","labels_url":"https://api.github.com/repos/haskell-opengl/GLUT/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/haskell-opengl/GLUT/issues/19/comments","events_url":"https://api.github.com/repos/haskell-opengl/GLUT/issues/19/events","html_url":"https://github.com/haskell-opengl/GLUT/issues/19","id":71168209,"number":19,"title":"Trouble building applications with Haskell GLUT and freeglut on OS X with GHC 7.10.1","user":{"login":"jtdaugherty","id":427221,"avatar_url":"https://avatars.githubusercontent.com/u/427221?v=3","gravatar_id":"","url":"https://api.github.com/users/jtdaugherty","html_url":"https://github.com/jtdaugherty","followers_url":"https://api.github.com/users/jtdaugherty/followers","following_url":"https://api.github.com/users/jtdaugherty/following{/other_user}","gists_url":"https://api.github.com/users/jtdaugherty/gists{/gist_id}","starred_url":"https://api.github.com/users/jtdaugherty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtdaugherty/subscriptions","organizations_url":"https://api.github.com/users/jtdaugherty/orgs","repos_url":"https://api.github.com/users/jtdaugherty/repos","events_url":"https://api.github.com/users/jtdaugherty/events{/privacy}","received_events_url":"https://api.github.com/users/jtdaugherty/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-27T03:47:40Z","updated_at":"2015-05-27T07:21:33Z","closed_at":"2015-05-27T07:21:33Z","body":"When I depend on the `GLUT` Haskell package (`2.6` or newer) on GHC `7.10.1` on OS X `10.9.5`, the GLUT package builds and installs successfully, but applications that depend on `GLUT` fail during `cabal install` with this kind of linking error:\r\n```\r\n<command line>: can't load .so/.DLL for: .../.cabal-sandbox/lib/x86_64-osx-ghc-7.10.1/GLUT_99KmPk9UqZy96uvbsgIYcH/libHSGLUT-2.6.0.1-0sykGmIsSqkEsQwajDtfCI-ghc7.10.1.dylib (dlopen(.../.cabal-sandbox/lib/x86_64-osx-ghc-7.10.1/GLUT_99KmPk9UqZy96uvbsgIYcH/libHSGLUT-2.6.0.1-0sykGmIsSqkEsQwajDtfCI-ghc7.10.1.dylib, 5):\r\n  Symbol not found: _glutBitmap8By13\r\n  Referenced from: .../.cabal-sandbox/lib/x86_64-osx-ghc-7.10.1/GLUT_99KmPk9UqZy96uvbsgIYcH/libHSGLUT-2.6.0.1-0sykGmIsSqkEsQwajDtfCI-ghc7.10.1.dylib\r\n  Expected in: flat namespace\r\n in .../.cabal-sandbox/lib/x86_64-osx-ghc-7.10.1/GLUT_99KmPk9UqZy96uvbsgIYcH/libHSGLUT-2.6.0.1-0sykGmIsSqkEsQwajDtfCI-ghc7.10.1.dylib)\r\n```\r\nI'm not sure whether this is GHC's fault or an interaction between OS X, GHC 7.10.1, etc., but this seemed like a good place to report this."},"comment":{"url":"https://api.github.com/repos/haskell-opengl/GLUT/issues/comments/105794412","html_url":"https://github.com/haskell-opengl/GLUT/issues/19#issuecomment-105794412","issue_url":"https://api.github.com/repos/haskell-opengl/GLUT/issues/19","id":105794412,"user":{"login":"svenpanne","id":5070764,"avatar_url":"https://avatars.githubusercontent.com/u/5070764?v=3","gravatar_id":"","url":"https://api.github.com/users/svenpanne","html_url":"https://github.com/svenpanne","followers_url":"https://api.github.com/users/svenpanne/followers","following_url":"https://api.github.com/users/svenpanne/following{/other_user}","gists_url":"https://api.github.com/users/svenpanne/gists{/gist_id}","starred_url":"https://api.github.com/users/svenpanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svenpanne/subscriptions","organizations_url":"https://api.github.com/users/svenpanne/orgs","repos_url":"https://api.github.com/users/svenpanne/repos","events_url":"https://api.github.com/users/svenpanne/events{/privacy}","received_events_url":"https://api.github.com/users/svenpanne/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T07:21:33Z","updated_at":"2015-05-27T07:21:33Z","body":"The consensus seems to be that this is a GHC 7.8.4 => 7.10.1 regression, so I'll close this issue. If there are strong indicators that this is really caused by the GLUT package, then feel free to re-open this issue."}}