[MacPorts] #61407: Liblas at 1.8.1-20200508: Undefined symbols for architecture x86_64: 264 "OGRSpatialReference::GetRoot()

MacPorts noreply at macports.org
Mon Dec 21 03:41:47 UTC 2020


#61407: Liblas at 1.8.1-20200508:  Undefined symbols for architecture x86_64: 264
"OGRSpatialReference::GetRoot()
----------------------+----------------------
  Reporter:  dershow  |      Owner:  Veence
      Type:  defect   |     Status:  assigned
  Priority:  Not set  |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  liblas   |
----------------------+----------------------

Comment (by gwright83):

 Hi Veence,
 I found at least one of the problems and fixed it.

 If you ever installed a binary of qgis from qgis.org, you may have a stale
 gdal framework in {{{/Library/Frameworks/GDAL.framework}}}.  When building
 {{{liblas}}} it can be found first, rather than macports gdal.  Some old
 versions of gdal are missing the symbols needed by {{{liblas}}}.

 The solution is to delete {{{/Library/Frameworks/GDAL.framework}}}, run
 {{{port clean liblas}}}, rebuild and all is right with the world.

 (The OGRSpatialReference symbols are defined in {{{libgdal}}}; the
 invocation of the compiler just before the error showed the wrong libgdal
 being linked in.  Yet another reason to read the log file. :-) )

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


More information about the macports-tickets mailing list