Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win7x32 (mingw) : can't load .so/.DLL for: stdc++.dll #7

Open
KolodeznyDiver opened this issue Aug 17, 2014 · 3 comments
Open

win7x32 (mingw) : can't load .so/.DLL for: stdc++.dll #7

KolodeznyDiver opened this issue Aug 17, 2014 · 3 comments

Comments

@KolodeznyDiver
Copy link

win7 x32 HaskellPlatform-2014.2.0.0-i386

*Main> main
Loading package double-conversion-2.0.1.0 ... can't load .so/.DLL for: stdc++.dll (addDLL: could not load DLL)
*Main>

mingv does not contain stdc++.dll, only libstdc++-6.dll

@rubenmoor
Copy link

Same error here, and I wasn't able to get double-conversion to link with libstdc++-6.dll taken from mingw.

Cf. this stack issue

@bos
Copy link
Collaborator

bos commented Dec 13, 2016

Should be fixed now.

@voidlizard
Copy link

voidlizard commented Feb 3, 2017

Now on linux, any project with double-conversion, stack lts-7.18

    Configuring double-conversion-2.0.2.0...
    Cabal-simple_mPHDZzAJ_1.24.0.0_ghc-8.0.1: Missing dependency on a foreign
    library:
    * Missing C library: stdc++
    This problem can usually be solved by installing the system package that
    provides this library (you may need the "-dev" version). If the library is
    already installed but in a non-standard location then you can use the flags
    --extra-include-dirs= and --extra-lib-dirs= to specify where it is.

Installed all version of libstdc++ I found, doesn't work anyway.

Interesting, that all works fine with resolver: nightly-2017-02-01, resolver: nightly-2017-02-02

If it's matter:

cat /etc/lsb-release 
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=18.1
DISTRIB_CODENAME=serena
DISTRIB_DESCRIPTION="Linux Mint 18.1 Serena"

dpkg -l

ii  lib64stdc++-4.8-dev:i386
ii  lib64stdc++-4.9-dev:i386
ii  lib64stdc++6:i386
ii  lib64stdc++6-4.7-dev:i386 
ii  libstdc++-4.8-dev:amd64   
ii  libstdc++-4.8-dev:i386    
ii  libstdc++-4.9-dev:i386    
ii  libstdc++5:amd64          
ii  libstdc++5:i386           
ii  libstdc++6:amd64          
ii  libstdc++6:i386           
ii  libstdc++6-4.7-dev:amd64  
ii  libstdc++6-4.7-dev:i386   
ii  libx32stdc++6:i386        

UPD installing g++ fixes the problem, but - with nightly-2017-02-01 compilation does not require this, i.e it works. It's very confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants