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

Where is zlib stored in this docker image? #296

Closed
endrebak opened this issue Apr 23, 2019 · 3 comments
Closed

Where is zlib stored in this docker image? #296

endrebak opened this issue Apr 23, 2019 · 3 comments

Comments

@endrebak
Copy link

I get the error

fatal error: zlib.h: No such file or directory
     #include <zlib.h>

running this command:

gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DWITHNUMPY -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -IlibBigWig -I/opt/_internal/cpython-3.6.8/include/python3.6m -I/opt/_internal/cpython-3.6.8/lib/python3.6/site-packages/numpy/core/include -I/opt/_internal/cpython-3.6.8/include/python3.6m -c libBigWig/bwStats.c -o build/temp.linux-x86_64-3.6/libBigWig/bwStats.o

How do I need to update my include paths to successfully build my wheel?

@endrebak endrebak changed the title Where is zlib stored in this image? Where is zlib stored in this docker image? Apr 23, 2019
@mayeut
Copy link
Member

mayeut commented Apr 24, 2019

zlib is not part of the manylinux1 or manylinux2010 policies.
As such, its development package is not installed.
2 options are available:

  1. Rebuild zlib from latest sources
  2. Install the zlib-devel package with yum (this one has not received security updates for some time on manylinux1).

@njsmith
Copy link
Member

njsmith commented Apr 24, 2019

See also: pypa/auditwheel#152

@endrebak
Copy link
Author

Yum install worked. Thanks!

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

3 participants