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

Make produces error on M1 Mac #127

Open
heydarshahi opened this issue Mar 22, 2024 · 1 comment
Open

Make produces error on M1 Mac #127

heydarshahi opened this issue Mar 22, 2024 · 1 comment

Comments

@heydarshahi
Copy link

heydarshahi commented Mar 22, 2024

Hello! Trying to install using the instructions but get this error when running make:
ld: warning: ignoring file '/usr/local/Cellar/alure/1.2_1/lib/libalure.1.2.0.dylib': found architecture 'x86_64', required architecture 'arm64'
ld: Undefined symbols: _alureCreateBufferFromFile, referenced from: _play in main.o _play in main.o _alureGetErrorString, referenced from: _play in main.o
followed by:
clang: error: linker command failed with exit code 1

It seems this has to do with the fact that the M1 arm-based. Any help is appreciated. Thanks!

@zevv
Copy link
Owner

zevv commented May 31, 2024

I have no way of reproducing this since I don't have access to any mac machines, but indeed something fishy is going on at link time: your libalure.1.2.0.dylib library is built for x86_64 while your linker is hoping to find an ARM library here instead.

Do you happen to know where libalure comes from on your machine, is this part of the OS or did you get it from somewhere else?

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

2 participants