<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Something Apple did in either the latest update to Mojave or the latest Xcode breaks gfortran's (8.3.0) ability to find the system library. I updated to the latest macports recently, too.  gfortran 8.3.0 that compiled code easily under previous versions of
 Mojave/Xcode/macports now throws an error:
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal;" class="">
M5118 error on build:</div>
<div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal;" class="">
ld: library not found for -lSystem</div>
<div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal;" class="">
collect2: error: ld returned 1 exit status</div>
<div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal;" class="">
make[1]: *** [../lab/map51] Error 1</div>
<div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal;" class="">
make: *** [build] Error 2 with gfortran 8.3.0</div>
</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">Does anyone know anything about this?<br class="">
<div class=""><br class="">
</div>
<div class="">DN</div>
<div class=""><br class="">
<div class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
David C Nicholls,<br class="">
Research School of Astronomy & Astrophysics<br class="">
Australian National University<br class="">
<br class="">
</div>
</div>
</div>
<br class="">
</div>
</div>
</div>
</body>
</html>