(a similar scenario: #1974)
I'm building a project using wxHaskell with wx, wxc, wxcore and wxdirect as extra-deps in my stack.yaml.
The project builds fine on Linux and Windows and stack exec works right on Linux, however,
on Windows it's complaining about a missing wxc.dll: The program can't start because wxc.dll is missing from your computer. stack ghci fails on both Linux and Windows,
with the same message on Windows and the following error on Linux:
<command line>: can't load .so/.DLL for: .../lib/x86_64-linux-ghc-7.10.3/wxcore-0.92.2.0-FbIxJ6t4QQeCNL8GzPaZRM/libHSwxcore-0.92.2.0-FbIxJ6t4QQeCNL8GzPaZRM-ghc7.10.3.so (libwxc.so: cannot open shared object file: No such file or directory)
On both systems, the .so/.dll was present, located at .stack-work/install/x86_64-linux/../lib/x86_64-linux-ghc-7.10.3/wxc-0.92.2.0-.. and when I copied them to the current directory, where the command is called, everything went smoothly.
I would expect stack to handle those cases.
(Note: the solution mentioned in #467 doesn't work)
(a similar scenario: #1974)
I'm building a project using wxHaskell with wx, wxc, wxcore and wxdirect as extra-deps in my stack.yaml.
The project builds fine on Linux and Windows and stack exec works right on Linux, however,
on Windows it's complaining about a missing wxc.dll:
The program can't start because wxc.dll is missing from your computer. stack ghci fails on both Linux and Windows,with the same message on Windows and the following error on Linux:
On both systems, the .so/.dll was present, located at
.stack-work/install/x86_64-linux/../lib/x86_64-linux-ghc-7.10.3/wxc-0.92.2.0-..and when I copied them to the current directory, where the command is called, everything went smoothly.I would expect stack to handle those cases.
(Note: the solution mentioned in #467 doesn't work)