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
zlibmodule undefined reference #77528
Comments
trying to compile a utility in Openwrt and when pip-install is selected and zlib is linked to python I get this: staging_dir/hostpkg/lib/libpython2.7.a(zlibmodule.o): In function python has access to zlib headers and libraries |
it seems that python-config --libs doesn't detect -lz and appending -lz fixes the problem
|
Hello sir! I got exactly same issue when compile some ipk in Openwrt. Would tell how to add "-lz" to python-config? I am not so familiar with Python coding. Thanks! |
The report only shows output for 2.7. Is this issue really relevant to 3.x? |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: