oracle / odpi

ODPI-C: Oracle Database Programming Interface for Drivers and Applications
https://oracle.github.io/odpi/
Other
264 stars 75 forks source link

ER: Arm64/Aarch64 support #157

Closed junior closed 3 years ago

junior commented 3 years ago

Is your feature request related to a problem? Please describe. Trying to build for Arm64/aarch64 generates an undefined error. Oracle Instant Client supports Arm64 for some time now and the whole market is going to this path, either on the Cloud(linux/arm64) or on the Client (Apple's M1, Raspberry PIs, and others). Right now, just Java allow that, and people would prefer to change the DB instead to change from NodeJs or Go to Java, which is not going to happen.

Describe the solution you'd like godror support for Arm64 platforms

Describe alternatives you've considered No alternatives. when trying to build on arm64 platform the errors are always the same:

NodeJs and Golang, which depends on ODPi are failing

anthony-tuininga commented 3 years ago

What error are you getting when compiling ODPI-C? I don't personally have access to such a platform but I may still be able to help you along if you provide more information.

cjbj commented 3 years ago

Please share your error and environment when building ODPI.

I had not seen problems on Oracle Linux when I tested some time back,.

cjbj commented 3 years ago

@junior any update?

As a data point: here is someone using cx_Oracle (which uses ODPI-C just like godror) on ARM: https://twitter.com/GeraldVenzl/status/1390007812630061057

junior commented 3 years ago

Looks like the error was on the godror module to connect go to Oracle Db. Will test with NodeJs as well.

junior commented 3 years ago

Closing. Doing right, works Golang and NodeJs with respective drivers (godror and node-oradb)) works perfectly on Arm64, and is simpler to compile than some guides around.