Opened 2 years ago

Closed 2 years ago

#65840 closed defect (fixed)

wgrib2 @3.1.1: ld: library not found for -lproj

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: cooljeanius (Eric Gallager)
Port: wgrib2

Description

wgrib2 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 paths).

Change History (2)

comment:1 Changed 2 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In f95a068c5fa58dd91945f5d7117ed00007cd1f78/macports-ports (master):

wgrib2: Switch proj dependency to proj8

Closes: #65840

Note: See TracTickets for help on using tickets.