-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Mac: Undefined symbols for architecture arm64 #1358
Comments
When compiling what? |
Hi @TommyMurphyTM1234 thanks for answering. |
Sorry, I've no experience with Mac builds of the Is this of any relevance? Is this build approach of any use? |
xpack may help, but it is too huge to understand. I am still trying to figure it out. |
Maybe @ilg-ul might be able to comment or offer some advice? |
I'm not familiar with the MacPorts environment, but I would say that |
I think that @howjmay is actually using Homebrew not MacPorts: I linked to the MacPorts issue in case it had any info common to both - there isn't a lot of info here on the
The MacPorts issue above does mention |
Yes I was reproducing the steps that homebrew did to figure it out what caused the error. I will try Hi @ilg-ul might you be willing to provide what are the libraries that you provided? I lose in xPack project, still can't find it. Thank you |
They're quite a lot, see the build script: Please note that installing those libraries in HomeBrew/MacPorts specific folders does not guarantee that |
Yes that was exactly what I met. I have checked out I installed libisl, but configure can't identify it. I need to figure it out how to explicitly identify them too. |
@ilg-ul I have a question about xPack project. I didn't see you call |
Update: |
Are you sure that it's the same issue?
are different to the ones in the StackOverflow thread:
|
@TommyMurphyTM1234 you may be right. I pretty sure I have installed libgmp already. How should I solve this? Can I pass
|
I add
|
To do a clean build/install you should do If you still have problems then you need to collect the build log (e.g. |
Thank you for the advice. I finally solved the problem. I need to disable-gdb to bypass the libgmp error, which I have no idea to solve. And the compilation will be correct, just I need to export PATH |
When compiling on M1 Mac. The following error is returned when I ran
make
Build with following command
The text was updated successfully, but these errors were encountered: