You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build the matmul.c example on a mac m1 using the Macaulay2 tap. I managed to figure out the linking issues and get g++ to find the appropriate libraries and headers, but once I get that figured out I run into a massive linker error which has the last two lines
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation).
the build command I ran to get this was gcc -o out main.cxx -L/opt/homebrew/lib -I/opt/homebrew/include -std=c++11.
I've included the full error in error.txt. If anyone knows of anyway around this I would gladly appreciate it!
The text was updated successfully, but these errors were encountered:
Your problem is coming from the fact that LinBox/fflas-ffpack have dependency with Givaro library that need to be build for arm64, which is not provided with Macaulay2 tap. You can try to install Givaro on your own from the GitHub repo (https://github.com/linbox-team/givaro) but it would be preferable to build the whole LinBox/fflas-ffpack from their sources (you will get more optimized code).
I appreciate it. Unfortunately it looks like I can't build givaro on arm64 as I run into perl dependency issues and there does not appear to be standardized ways to downgrade the version of perl through homebrew. I went through and tried to upgrade the build scripts for givaro manually to use the version of perl provided through homebrew but the errors kept getting worse so I stopped.
I'm trying to build the matmul.c example on a mac m1 using the Macaulay2 tap. I managed to figure out the linking issues and get g++ to find the appropriate libraries and headers, but once I get that figured out I run into a massive linker error which has the last two lines
the build command I ran to get this was
gcc -o out main.cxx -L/opt/homebrew/lib -I/opt/homebrew/include -std=c++11
.I've included the full error in error.txt. If anyone knows of anyway around this I would gladly appreciate it!
The text was updated successfully, but these errors were encountered: