[MacPorts] #62114: postgis3 @3.0.3: configure failure: could not find GDAL headers

MacPorts noreply at macports.org
Wed May 12 17:49:44 UTC 2021


#62114: postgis3 @3.0.3: configure failure: could not find GDAL headers
-----------------------+----------------------
  Reporter:  conradwt  |      Owner:  Veence
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.6.4
Resolution:            |   Keywords:  bigsur
      Port:  postgis3  |
-----------------------+----------------------

Comment (by martoche):

 Same problem here.

 In `config.log`, I found the following error:

 {{{
 clang: warning: no such sysroot directory:
 '/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk' [-Wmissing-
 sysroot]
 ld: library not found for -lSystem
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 }}}

 So I ran the following commands:

 {{{
 cd /Library/Developer/CommandLineTools/SDKs
 sudo ln -s MacOSX11.3.sdk MacOSX11.0.sdk
 }}}

 And the build succeeded.

-- 
Ticket URL: <https://trac.macports.org/ticket/62114#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list