[MacPorts] #60532: PDAL @2.1.0: Undefined laszip symbols (was: PDAL @2.1.0 install fails with and without debug variant)

MacPorts noreply at macports.org
Tue Dec 29 02:19:14 UTC 2020


#60532: PDAL @2.1.0: Undefined laszip symbols
------------------------------+----------------------
  Reporter:  TheLastLovemark  |      Owner:  Veence
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.6.2
Resolution:                   |   Keywords:
      Port:  PDAL             |
------------------------------+----------------------

Comment (by ryandesign):

 Replying to [comment:4 Veence]:
 > Oops. I see where the error is: the path for the laszip library is
 wrong: /opt/local/BIN instead of /opt/local/LIB

 Yes that is weird. The log shows it is trying to link with the nonexistent
 /opt/local/'''bin'''/liblaszip.dylib when it should be linking with
 /opt/local/'''lib'''/liblaszip.dylib. The port is not specifying where
 laszip is, so this determination is coming from the build system.

 The log is from macOS 10.13.6 with Xcode 10.1 and MacPorts 2.6.2. I am
 unable to reproduce the issue on macOS 10.13.6 with Xcode 9.4.1 and
 MacPorts 2.6.99 but I doubt that the difference in Xcode or MacPorts
 version is relevant to this issue.

 The log shows several of the dependencies are installed with the +debug
 variant. Although it seems unlikely to me, maybe one of those is relevant,
 and reinstalling the dependencies without the +debug variant would help.

 We do have binaries of PDAL available, so if you just try to install the
 port you should get our binary and not run into this issue. To help us
 track down and fix the issue, you can tell MacPorts to skip looking for
 the binary and build from source using the `-s` flag (`sudo port -s
 install PDAL`).

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


More information about the macports-tickets mailing list