[MacPorts] #65840: wgrib2 @3.1.1: ld: library not found for -lproj

MacPorts noreply at macports.org
Thu Sep 15 05:09:33 UTC 2022

#65840: wgrib2 @3.1.1: ld: library not found for -lproj
 Reporter:  ryandesign  |      Owner:  tenomoto
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.7.2
 Keywords:              |       Port:  wgrib2
 wgrib2 [https://ports.macports.org/port/wgrib2/builds/ fails to build on
 all systems] with:
 ld: warning: directory not found for option '-L/opt/local/lib/proj8/lib'
 ld: library not found for -lproj
 collect2: error: ld returned 1 exit status
 The port depends on proj (which is version 5) but uses paths of files
 instaled by the proj8 port.

 The problem was introduced in [addd37ad5856629a90374accb95c9cd9bbf11154
 /macports-ports] (which changed the paths from proj5 paths to proj8

Ticket URL: <https://trac.macports.org/ticket/65840>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list