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

unable to load package 'network-3.0.1.0' #394

Closed
sapphire-sandcastles opened this issue Mar 22, 2019 · 2 comments
Closed

unable to load package 'network-3.0.1.0' #394

sapphire-sandcastles opened this issue Mar 22, 2019 · 2 comments
Labels

Comments

@sapphire-sandcastles
Copy link

sapphire-sandcastles commented Mar 22, 2019

I have recently used cabal install io-streams to pull the specified package into a .cabal-sandbox/ folder within my directory.
As a result of this, the network-3.0.1.0 package has been pulled down as a dependancy. However when I come to use an import statement that runs off of the io-streams package, I get the following error in my console:

ghc.exe:  | C:\Users\Calum\source\repos\complexHaskell\.cabal-sandbox\x86_64-windows-ghc-8.4.3\network-3.0.1.0-HkosMKsQUp05NPIgp4K8kv\HSnetwork-3.0.1.0-HkosMKsQUp05NPIgp4K8kv.o: unknown symbol `if_nametoindex'
ghc.exe: unable to load package `network-3.0.1.0

Just wondering if someone could have a look into this as its preventing me from running some code that I need for my project.

Thanks Calum

@eborden
Copy link
Collaborator

eborden commented Mar 25, 2019

@Calum-J-O, it looks like you are on windows. A fix for this was recently merged into master, but it has not been released.

#391

@eborden
Copy link
Collaborator

eborden commented Mar 26, 2019

3.0.1.1 has been released and should fix this for you
https://hackage.haskell.org/package/network-3.0.1.1

@eborden eborden closed this as completed Mar 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants