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

getaddrinfo cannot be statically linked if glibc is used #429

Open
kazu-yamamoto opened this issue Oct 31, 2019 · 2 comments
Open

getaddrinfo cannot be statically linked if glibc is used #429

kazu-yamamoto opened this issue Oct 31, 2019 · 2 comments

Comments

@kazu-yamamoto
Copy link
Collaborator

For easy deployment of network programs in Haskell, it would be nice if all libraries were statically linked. Golang does this well as we know.

Unfortunately, it appeared that getaddrinfo in glibc has to be always dynamically linked due to libnss. Now we have the dns library, I would like to implement getAddrInfo purely in Haskell.

@eborden
Copy link
Collaborator

eborden commented Oct 31, 2019

Static linking would be lovely.

@kazu-yamamoto
Copy link
Collaborator Author

dns depends on network. So, we need to refactor them a lot, unfortunately.

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

No branches or pull requests

2 participants