libSystem not found using gfortran

Guillaume Houzeaux @ BSC guillaume.houzeaux at bsc.es
Fri Oct 11 11:55:12 UTC 2019


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>



http://bsc.es/disclaimer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20191011/1fdf61c7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: google-maps.png
Type: image/png
Size: 695 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20191011/1fdf61c7/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rg-15.png
Type: image/png
Size: 3370 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20191011/1fdf61c7/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gs-15.png
Type: image/png
Size: 507 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20191011/1fdf61c7/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: orcid-15.png
Type: image/png
Size: 603 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20191011/1fdf61c7/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: r-15.png
Type: image/png
Size: 605 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20191011/1fdf61c7/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BSC.gif
Type: image/gif
Size: 7495 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20191011/1fdf61c7/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SO.png
Type: image/png
Size: 6172 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20191011/1fdf61c7/attachment-0005.png>


More information about the macports-users mailing list