[Users] ETK on mac os Ventura -- unsupported tapi file error
Hamilton, Maria
babiuc at marshall.edu
Tue Feb 21 14:43:43 CST 2023
Hello Roland,
My laptop is x86 based.
I succeeded to get gcc-12 to work!
It still complained after uninstalling and reinstalling XCode and CommandLineTools.
The problem was that the ld path for anaconda3 was above the one for /usr/bin, even after uninstalling anaconda3.
The compilation stopped at:
Cactus/configs/sim/build/FLRWSolver/flrw_powerspecics.f90:833:0:
include 'fftw3.f03'
Fatal Error: Cannot open included file 'fftw3.f03'.
Is there a fix?
Maria
_______________________
Maria C. Babiuc Hamilton, Ph.D.
Professor, Department of Physics
College of Science, Marshall University,
1 John Marshall Drive, Huntington, WV, 25755
Room S 257, Phone: (304)696-2754
________________________________
From: Roland Haas
Sent: Monday, February 20, 2023 6:32 AM
To: Hamilton, Maria
Cc: users at einsteintoolkit.org
Subject: Re: [Users] ETK on mac os Ventura -- unsupported tapi file error
Hello Maria,
Is you laptop M1 or x86 based?
Only the most recent release (ET_2022_11) has been tested on M1 macOS.
The error you are getting is strange since it reports trying to compile
for x86 which of course should not happen on M1 system.
Beyond that I unfortunately cannot help since I do not myself use macOS
(I compiler precisely 4 times a year, once for macports, once for
homebrew for each release).
You could try and re-install the commandlinetools and xcode.
The official way is actually to remove the folder directly (no
uninstall, https://stackoverflow.com/a/29949289):
sudo rm -rf /Library/Developer/CommandLineTools
Yours,
Roland
> While trying to create a configuration, I got this error:
> ____________
> cat configs/sim/config-data/config.log
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> configure:922: checking host system type
> configure:948: checking for mawk
> configure:948: checking for gawk
> configure:948: checking for nawk
> configure:948: checking for awk
> configure:1017: checking whether make sets ${MAKE}
> configure:1082: checking whether the C compiler (gcc-12 -g -std=gnu99 -rdynamic) works
> configure:1099: gcc-12 -o conftest -g -std=gnu99 -rdynamic conftest.c 1>&5
> ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libSystem.tbd' for architecture x86_64
> collect2: error: ld returned 1 exit status
> configure: failed program was:
>
> #line 1094 "configure"
> #include "confdefs.h"
>
> int main(){return(0);} int PilotMain(){return(0);}
> (base)
> ____________
>
> Browsing the internet I founnd that this might appear if Anaconda is installed. I uninstalled it and the error is still there.
> Any suggestion on how to fix it?
>
> Thanks,
> Maria
>
>
> _______________________
> Maria C. Babiuc Hamilton, Ph.D.
> Professor, Department of Physics
> College of Science, Marshall University,
> 1 John Marshall Drive, Huntington, WV, 25755
> Room S 257, Phone: (304)696-2754
>
--
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://keys.gnupg.net.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20230221/708a0e98/attachment-0001.html
More information about the Users
mailing list