-
Notifications
You must be signed in to change notification settings - Fork 78
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
Plans for arm (Mac M1 to be exact)? #257
Comments
Ruby-oci8 doesn't support macOS Arm while Oracle instant client for macOS Arm isn't released. You need to use intel ruby for a while. As for Oracle Database on macOS, it runs on Linux Arm containers. Oracle client in the container isn't available outside of it.
|
thanks for your response! Am I able to run ruby-oci8 while using arm based oracle db container? |
Yes, you are enable to run Oracle database container as a server and ruby-oci8 for intel macOS as a client on one macOS Arm machine. |
Oracle Instant Client for macOS arm64 is out. I hope it works without ruby-oci8 code change. |
I've just installed EDIT: |
Hmm, looks like there may be an issue:
|
Thanks for running on macOS! I updated plthook. Could you try to use the latest revision in the master branch? Replace ruby-oci8 entry in
|
Hi, I was able to install it from the master branch but running it generates following error
|
Yeah, I get an error too:
|
Same here, but commenting out that line makes it work as expected. Only caveat I can see is that you won't have your tcp keepalive time set to 10 minutes as per this doc. |
I may have spoken too soon...
|
Thanks you all. I removed Oracle enhanced adapter ignores the exception. |
hi, I tried the update and still able to install it but getting the same error as before
|
The message was displayed by dyld (dynamic loader). After googling, I found https://www.rubyonmac.dev/how-to-fix-missing-symbol-called-when-running-rails-commands. |
Could you make a minimal reproducible example? |
@kubo I have tried to reproduce the issue, but to no avail... Read: Issue fixed, possibly because of system restart and/or messing around with exports in my terminal source file. Thank you for your assistance, I currently have no issues with arm64 ruby, arm64 macOS Oracle instant client and ruby-oci8 gem on latest Just an FYI: When I was seeing an issue, it was happening only at runtime for a Rails server and I wasn't able to reproduce it in a Rails console, with the same queries. (So, possibly something else was messing around with those memory locations, I'm not sure...) |
I'm also getting a "Hook error", although with a different error message:
I get this when trying to use
|
Curious, are there plans for this gem to support arm? oracle db is now supporting images running on arm architectures already is there still a need for us to toggle between intel vs arm when installing ruby?
The text was updated successfully, but these errors were encountered: