libSystem not found using gfortran
Chris Jones
jonesc at hep.phy.cam.ac.uk
Fri Oct 11 12:02:39 UTC 2019
one more request.
please post the full output from compiling your test code with the -v
option.
cheers Chris
On 11/10/2019 12:59 pm, Chris Jones wrote:
>
> can you please direct us to the exact test application code you are using ?
>
> Also, can you confirm the exact Xcode version you are using ?
>
> Have you correctly followed the macports migration guide after updating
> your OS ?
>
> https://trac.macports.org/wiki/Migration
>
> cheers Chris
>
> On 11/10/2019 12:55 pm, Guillaume Houzeaux @ BSC wrote:
>> Hello,
>>
>> I'm compiling with gfortran9 on catalina and get this error:
>>
>> gfortran test.f90
>> ld: library not found for -lSystem
>> collect2: error: ld returned 1 exit status
>>
>> Seems that it does not find the library libSystem. I changed all the
>> library paths in my bash_profile
>>
>> to include /usr/lib but does not work. The only solution for the
>> moment is to compile with
>>
>> gfortran test.f90-L/usr/lib
>>
>> but this is not a practical option... Any idea on how to fix this?
>>
>> Thanks in advance
>>
>> --
>> Guillaume Houzeaux
>> Team Leader
>> Dpt. Computer Applications in Science and Engineering
>> Barcelona Supercomputing Center (BSC-CNS)
>> Edificio NEXUS II - Office 3A, c) Jordi Girona 29
>> 08034 Barcelona, Spain
>>
>> Location:
>> <https://www.google.es/maps/place/Carrer+de+Jordi+Girona,+08034+Barcelona/@41.3881175,2.1132195,17z/data=!3m1!4b1!4m8!1m2!10m1!1e2!3m4!1s0x12a4985099390467:0xd9abcf1987739b3e!8m2!3d41.3881175!4d2.1154135?hl=en>
>>
>> Tel: +34 93 413 7781
>> Skype user: guillaume_houzeaux_bsc
>> WWW: BSC profile <https://www.bsc.es/houzeaux-guillaume>
>> ResearcherID: D-4950-2012
>> Scientific Profile:
>> <https://www.researchgate.net/profile/Guillaume_Houzeaux>
>> <http://scholar.google.es/citations?user=cL9khdYAAAAJ&hl=en>
>> <http://orcid.org/0000-0002-2592-1426>
>> <http://www.researcherid.com/rid/D-4950-2012>
>>
More information about the macports-users
mailing list