KxSystems / rkdb

R client for kdb+
https://code.kx.com/q/interfaces
Apache License 2.0
41 stars 30 forks source link

Mac e.o is x86_64 only, not arm64 #67

Closed ralmgren1 closed 2 years ago

ralmgren1 commented 2 years ago

The binary file e.o distributed with the Mac version is only for the older x86_64architecture, not the newer arm64 that is in M1 Macbooks. I know that Kx has a dual version -- could you include it here with the distribution?

europa: file e.o 
e.o: Mach-O 64-bit object x86_64

should be (with the newer version that Kx does have)

europa: file e.o
e.o: Mach-O universal binary with 2 architectures:
    [x86_64:Mach-O 64-bit object x86_64Mach-O 64-bit object x86_64]
    [arm64:Mach-O 64-bit object arm64Mach-O 64-bit object arm64]
e.o (for architecture x86_64):  Mach-O 64-bit object x86_64
e.o (for architecture arm64):   Mach-O 64-bit object arm64
jhanna-kx commented 2 years ago

We've updated the mac c.o and e.o files in the kdb repository to be universal binaries now, thank you for the reminder. https://github.com/KxSystems/rkdb/pull/66 (just merged) removes these binaries from this repository and instead pulls them from the kdb repository (where they are kept updated) during the build.

Does that solve the issue for you?

ralmgren1 commented 2 years ago

Yes, that seems to work well. Thank you!