Skip to content
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

Instructions on how to build mvsqlite for ARM64 architecture #97

Open
mairasaboia opened this issue Oct 24, 2022 · 2 comments
Open

Instructions on how to build mvsqlite for ARM64 architecture #97

mairasaboia opened this issue Oct 24, 2022 · 2 comments

Comments

@mairasaboia
Copy link

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.

@losfair
Copy link
Owner

losfair commented Oct 24, 2022

"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.

@pnewell
Copy link

pnewell commented Jun 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants