Building manylinux wheels & auditwheel
Patrick Young
patrick.mckendree.young at gmail.com
Fri Oct 21 19:15:51 EDT 2016
Hello,
I've been exploring building manylinux wheels and trying to use auditwheel
to vendorize my shared libraries. Essentially, I can't seem to get
"auditwheel repair" to fix up my wheel that has some dependencies that need
to be packed up.
I've described my problem at https://github.com/pypa/auditwheel/issues/52,
but to summarize, I've built the demo wheel found at
https://github.com/pypa/python-manylinux-demo. From inside the container,
after the wheel's have been built but not repaired, I run
auditwheel -vv show python_manylinux_demo-1.0-cp27-cp27mu-linux_x86_64.whl
which gives the following:
DEBUG:auditwheel.wheel_abi:{}
DEBUG:auditwheel.policy.versioned_symbols:Required symbol versions: {}
INFO:auditwheel.wheel_abi:{
"manylinux1_x86_64": {
"priority": 100,
"libs": {}
},
"linux_x86_64": {
"priority": 0,
"libs": {}
}
}
DEBUG:auditwheel.wheel_abi:external referene info
DEBUG:auditwheel.wheel_abi:{
"manylinux1_x86_64": {
"priority": 100,
"libs": {}
},
"linux_x86_64": {
"priority": 0,
"libs": {}
}
}
python_manylinux_demo-1.0-cp27-cp27mu-linux_x86_64.whl is consistent
with the following platform tag: "manylinux1_x86_64".
The wheel references no external versioned symbols from system-
provided shared libraries.
The wheel requires no external shared libraries! :)
but unzipping that wheel and runnning ldd tells a different story
[root at 1965501e43ea pymanylinuxdemo]# ldd extension.so
linux-vdso.so.1 => (0x00007ffc52bd8000)
libcblas.so.3 => /usr/lib64/atlas/libcblas.so.3 (0x00007fdcd467e000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fdcd4461000)
libc.so.6 => /lib64/libc.so.6 (0x00007fdcd4108000)
libatlas.so.3 => /usr/lib64/atlas/libatlas.so.3 (0x00007fdcd3813000)
libm.so.6 => /lib64/libm.so.6 (0x00007fdcd358f000)
/lib64/ld-linux-x86-64.so.2 (0x00005619467b3000)
Any help would be greatly appreciated! I'm experiencing the same thing
across the board with other builds I've been trying to manylinuxize.
Thanks!
-Patrick
More information about the Python-list
mailing list