{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/740","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/740/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/740/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/740/events","html_url":"https://github.com/commercialhaskell/stack/issues/740","id":99888183,"number":740,"title":"Weird \"can't load .so/.DLL\" error I believe because of a git repo as a dependency.","user":{"login":"seanparsons","id":217400,"avatar_url":"https://avatars.githubusercontent.com/u/217400?v=3","gravatar_id":"","url":"https://api.github.com/users/seanparsons","html_url":"https://github.com/seanparsons","followers_url":"https://api.github.com/users/seanparsons/followers","following_url":"https://api.github.com/users/seanparsons/following{/other_user}","gists_url":"https://api.github.com/users/seanparsons/gists{/gist_id}","starred_url":"https://api.github.com/users/seanparsons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanparsons/subscriptions","organizations_url":"https://api.github.com/users/seanparsons/orgs","repos_url":"https://api.github.com/users/seanparsons/repos","events_url":"https://api.github.com/users/seanparsons/events{/privacy}","received_events_url":"https://api.github.com/users/seanparsons/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/commercialhaskell/stack/labels/need-confirmation","name":"need-confirmation","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/commercialhaskell/stack/milestones/5","html_url":"https://github.com/commercialhaskell/stack/milestones/0.2.0.0","labels_url":"https://api.github.com/repos/commercialhaskell/stack/milestones/5/labels","id":1166824,"number":5,"title":"0.2.0.0","description":"Arbitrary date chosen, just to get the milestones to order nicely","creator":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":141,"state":"open","created_at":"2015-06-16T14:23:31Z","updated_at":"2015-08-12T11:04:35Z","due_on":"2015-08-31T07:00:00Z","closed_at":null},"comments":15,"created_at":"2015-08-09T11:34:58Z","updated_at":"2015-08-13T14:22:01Z","closed_at":null,"body":"Minimally reproducing project (as far as I can make it) here: https://github.com/seanparsons/cantloaderror\r\n\r\n    ➜  cantloaderror git:(master) stack build\r\n    cantloaderror-0.1.0.0: build\r\n    \r\n    --  While building package cantloaderror-0.1.0.0 using:\r\n          /home/sean/.stack/programs/x86_64-linux/ghc-7.10.1/bin/runhaskell -package=Cabal-1.22.2.0 -    clear-package-db -global-package-db -package-db=/home/sean/.stack/snapshots/x86_64-linux/nightly-    2015-07-30/7.10.1/pkgdb/ /tmp/stack26392/Setup.hs --builddir=.stack-work/dist/x86_64-linux/Cabal-    1.22.2.0/ build\r\n        Process exited with code: ExitFailure 1\r\n        Logs have been written to: \"/home/sean/workspace/cantloaderror/.stack-work/logs/cantloaderror-    0.1.0.0.log\"\r\n    \r\n        Building cantloaderror-0.1.0.0...\r\n        Preprocessing executable 'cantloaderror' for cantloaderror-0.1.0.0...\r\n        [2 of 3] Compiling CantLoadError.Types ( src/CantLoadError/Types.hs, .stack-work/dist/x86_64-    linux/Cabal-1.22.2.0/build/cantloaderror/cantloaderror-tmp/CantLoadError/Types.o )\r\n        <command line>: can't load .so/.DLL for: /home/sean/workspace/cantloaderror/.stack-    work/install/x86_64-linux/nightly-2015-07-30/7.10.1/lib/x86_64-linux-ghc-    7.10.1/fastl_2Slugq3CyPh7AFUfPDWpX2/libHSfast-logger-2.4.0-2Slugq3CyPh7AFUfPDWpX2-    ghc7.10.1.so (/home/sean/workspace/cantloaderror/.stack-work/install/x86_64-linux/nightly-2015-07-    30/7.10.1/lib/x86_64-linux-ghc-7.10.1/fastl_2Slugq3CyPh7AFUfPDWpX2/libHSfast-logger-2.4.0-    2Slugq3CyPh7AFUfPDWpX2-ghc7.10.1.so: undefined symbol:     direczu3TcTyYedch32o1zzTH2MR00_SystemziDirectory_findExecutable4_info)\r\n\r\nThis was working when the amazonka library was depended on using extra-deps, but I needed the more recent version that is unreleased."},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/130693870","html_url":"https://github.com/commercialhaskell/stack/issues/740#issuecomment-130693870","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/740","id":130693870,"user":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T14:22:01Z","updated_at":"2015-08-13T14:22:01Z","body":"I think this is a completely different issue actually, and is correct behavior. It looks like you need to tell GHC to add in an extra system library containing the _kMIDIPropertyManufacturer identifier. It's also likely to be impossible to get this to work on Linux, since that function won't exist on Linux."}}