mvsqlite icon indicating copy to clipboard operation
mvsqlite copied to clipboard

Instructions on how to build mvsqlite for ARM64 architecture

Open mairasaboia opened this issue 3 years ago • 2 comments

I would like to use mvsqlite but I have a Mac M1 computer (ARM64) The preload library and the patched libsqlite3.so are only available for AMD64

Do you have detailed instructions on how to build mvsqlite from source? I couldn't find one.

mairasaboia avatar Oct 24 '22 18:10 mairasaboia

"Build" step in the CI configuration can be used as a reference:

https://github.com/losfair/mvsqlite/blob/d925ec567b328bf88f7892d7b55339e5abee00dc/.github/workflows/ci.yml

There isn't any architecture-specific code in mvsqlite itself. If you are running FoundationDB on the same ARM64 machine, please also follow their instructions.

losfair avatar Oct 24 '22 18:10 losfair

I am trying to build this atm on my M2 Mac and getting linker errors

ld: unknown options: -z 

If I remove this line from the Makefile:

-Wl,-z,noexecstack \

Then I get this error:

ld: library 'ssl' not found

I've confirmed openssl 3.3 is install so at a loss, have tried a bunch of stuff

pnewell avatar Jun 25 '24 01:06 pnewell