connector-x
connector-x copied to clipboard
how to build a whl file dependance a lower version in glibc
[issue background]
I have a feature that allow connectorx to read bit type in mysql. So I add some code in typesystem.rs and mysql_arrow.rs.
And then I would build whl file. I use the following commands:
# need to get the j4rs dependency first
cd connectorx-python && maturin build --release -i python
# copy files
cp -rf connectorx-python/target/release/jassets connectorx-python/connectorx/dependencies
# build final wheel
cd connectorx-python && maturin build --release -i python
which is written in Justfile.
[issue question] In Ubuntu 22.04, the whl file build success, but this whl need glibc-2.35. In centOs 7(glibc version is 2.17), all the linux lib is latest version but [maturin build --release -i python] also report error: openssl version error. I want to know how to build the connectorx release file, such as: --how to prepare my OS, I need to install which lib in which version. (glibc 2.35 is much higher than I need) --how to build a windows release
thank you very much