Skip to content

Weird "can't load .so/.DLL" error I believe because of a git repo as a dependency. #740

@seanparsons

Description

@seanparsons

Minimally reproducing project (as far as I can make it) here: https://github.com/seanparsons/cantloaderror

➜  cantloaderror git:(master) stack build
cantloaderror-0.1.0.0: build

--  While building package cantloaderror-0.1.0.0 using:
      /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
    Process exited with code: ExitFailure 1
    Logs have been written to: "/home/sean/workspace/cantloaderror/.stack-work/logs/cantloaderror-    0.1.0.0.log"

    Building cantloaderror-0.1.0.0...
    Preprocessing executable 'cantloaderror' for cantloaderror-0.1.0.0...
    [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 )
    <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)

This was working when the amazonka library was depended on using extra-deps, but I needed the more recent version that is unreleased.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions