Open hrw opened 3 years ago
Nevermind. toolchain in manylinux2014 image lacks "__cxa_throw_bad_array_new_length" and "std::__throw_out_of_range_fmt" functions :(
export BAZEL_LINKLIBS=-l%:libstdc++.a
to the rescue ;D
[root@jagular ansible]# auditwheel repair dist/tensorflow_io-0.20.0-cp39-cp39-linux_aarch64.whl
INFO:auditwheel.main_repair:Repairing tensorflow_io-0.20.0-cp39-cp39-linux_aarch64.whl
Traceback (most recent call last):
File "/usr/local/bin/auditwheel", line 8, in <module>
sys.exit(main())
File "/opt/_internal/pipx/venvs/auditwheel/lib/python3.9/site-packages/auditwheel/main.py", line 51, in main
rval = args.func(args, p)
File "/opt/_internal/pipx/venvs/auditwheel/lib/python3.9/site-packages/auditwheel/main_repair.py", line 123, in execute
out_wheel = repair_wheel(args.WHEEL_FILE,
File "/opt/_internal/pipx/venvs/auditwheel/lib/python3.9/site-packages/auditwheel/repair.py", line 67, in repair_wheel
raise ValueError(('Cannot repair wheel, because required '
ValueError: Cannot repair wheel, because required library "libtensorflow_framework.so.2" could not be located
Any suggestions?
tensorflow 2.6.0 is installed
Found https://github.com/tensorflow/io/commit/02dcf4a hack.
Now you are using python-3.x-slim docker images to build.
Tensorflow is buildable in manylinux2014 so would be nice to be able to build tensorflow/io there as well.