Opened 12 months ago

Closed 12 months ago

Last modified 12 months ago

#67448 closed defect (fixed)

gdal @3.7.0: dyld: Library not loaded: /opt/local/lib/libarchive.13.dylib

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: nilason (Nicklas Larsson), mascguy (Christopher Nielsen), Dave-Allured (Dave Allured)
Port: gdal

Description

gdal links with libarchive (this is a new optional feature as of version 3.7) but doesn't declare a dependency on it, thus libarchive can be uninstalled without complaint, leading to:

https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/167067/steps/install-port/logs/stdio

dyld: Library not loaded: /opt/local/lib/libarchive.13.dylib
  Referenced from: /opt/local/lib/libgdal.33.dylib
  Reason: image not found

Either add the libarchive library dependency, or prevent gdal from using libarchive even if it is installed. In either case, increase the revision. After that, we should force buildbot builds of all ports that depend on gdal.

Change History (6)

comment:1 Changed 12 months ago by nilason (Nicklas Larsson)

comment:2 Changed 12 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:3 Changed 12 months ago by Dave-Allured (Dave Allured)

Cc: Dave-Allured added

comment:4 Changed 12 months ago by nilason (Nicklas Larsson)

Resolution: fixed
Status: assignedclosed

In 076c280ce9a6b76484da9fa5b621bec9654ebda3/macports-ports (master):

gdal: add +libarchive variant

and prevent opportunistic linking.

Closes: #67448

comment:5 Changed 12 months ago by nilason (Nicklas Larsson)

Thanks Ryan!

Only remains to:

After that, we should force buildbot builds of all ports that depend on gdal.

comment:6 in reply to:  5 Changed 12 months ago by mascguy (Christopher Nielsen)

Replying to nilason:

Only remains to:

After that, we should force buildbot builds of all ports that depend on gdal.

Just took care of that.

Note: See TracTickets for help on using tickets.