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

Build problem on CentOS 6 - missing library settings #111

Open
PtDragon opened this issue May 11, 2014 · 1 comment
Open

Build problem on CentOS 6 - missing library settings #111

PtDragon opened this issue May 11, 2014 · 1 comment

Comments

@PtDragon
Copy link

It should be built with
make LIBS="-ldl -lz"
or it will stop build with errors.
Please add it into instruction so people will know how to build it(i spent 3 hours searching where problem is).
-ldl is for opennssl
-lz is for zlib

@tatsuhiro-t
Copy link
Owner

The official way to specify zlib flags is use ZLIB_CFLAGS and ZLIB_LIBS.
But normally, they are searched and set by pkg-config. If configure complained about missing zlib, you can specify both variables by hand. Run ./configure -h to see help
If -ldl is required for openssl, usually it must be supplied in its .pc file read by pkg-config.
If it is missing, then LIBS is the last resort.

All variables are described in ./configure -h.

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