bucklespring icon indicating copy to clipboard operation
bucklespring copied to clipboard

Make produces error on M1 Mac

Open heydarshahi opened this issue 1 year ago • 1 comments

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!

heydarshahi avatar Mar 22 '24 14:03 heydarshahi

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?

zevv avatar May 31 '24 06:05 zevv