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

dub config: need libs "zlib" #1458

Closed
denizzzka opened this issue Mar 18, 2016 · 4 comments
Closed

dub config: need libs "zlib" #1458

denizzzka opened this issue Mar 18, 2016 · 4 comments

Comments

@denizzzka
Copy link
Contributor

With dependency "vibe-d:http" in my own project linker complains that zlib is not found. zlib used in vibe.stream.zlib

@s-ludwig
Copy link
Member

That's true, this is required for HTTP GZIP/ZLIB compression. This is usually automatically linked by the D compiler, because Phobos uses it, too. Do you bypass the compiler and link directly?

@denizzzka
Copy link
Contributor Author

This is usually automatically linked by the D compiler, because Phobos uses it, too.

On my Debian system dmd does it, but ldc isn't (ldc package ver 1:0.17.0~beta2-1).

Do you bypass the compiler and link directly?

Just dub --compiler=ldc2 option used

@s-ludwig
Copy link
Member

@s-ludwig
Copy link
Member

Should be fixed on master by 9df23d4. I couldn't reproduce the linker error with the LDC binaries from GitHub, so please reopen if necessary.

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

2 participants