#65669 closed defect (fixed)

wgrib2: broken linking with libgfortran

Reported by: ChristmasZCY (Christmas) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: cooljeanius (Eric Gallager)
Port: wgrib2, libgcc

Description (last modified by jmroot (Joshua Root))

(base) christmas@ChristmasdeMacBook-Pro bin % wgrib2
dyld[9434]: Library not loaded: '@rpath/libgfortran.5.dylib'
  Referenced from: '/opt/local/bin/wgrib2'
  Reason: tried: '/opt/local/bin/libgfortran.5.dylib' (no such file), '/opt/local/lib/libgfortran.5.dylib' (no such file), '/opt/local/lib/gcc-devel/gcc/aarch64-apple-darwin21/12.0.1/libgfortran.5.dylib' (no such file), '/opt/local/lib/gcc-devel/gcc/aarch64-apple-darwin21/12.0.1/../../../libgfortran.5.dylib' (no such file), '/opt/local/bin/libgfortran.5.dylib' (no such file), '/opt/local/lib/libgfortran.5.dylib' (no such file), '/opt/local/lib/gcc-devel/gcc/aarch64-apple-darwin21/12.0.1/libgfortran.5.dylib' (no such file), '/opt/local/lib/gcc-devel/gcc/aarch64-apple-darwin21/12.0.1/../../../libgfortran.5.dylib' (no such file), '/usr/local/lib/libgfortran.5.dylib' (no such file), '/usr/lib/libgfortran.5.dylib' (no such file)
zsh: abort      wgrib2

Attachments (1)

iShot_2022-08-15_10.22.51.png (1.2 MB) - added by ChristmasZCY (Christmas) 21 months ago.

Download all attachments as: .zip

Change History (7)

Changed 21 months ago by ChristmasZCY (Christmas)

comment:1 Changed 21 months ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: wgrib2 removed
Milestone: MacPorts Future
Owner: set to tenomoto
Status: newassigned
Summary: 在安装wgrib2的时候失败wgrib2: broken linking with libgfortran

comment:2 Changed 20 months ago by tenomoto (Takeshi Enomoto)

Could you try wgrib2 @3.1.1?

comment:3 Changed 20 months ago by kencu (Ken)

Port: libgcc added

comment:4 Changed 20 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:5 Changed 19 months ago by cjones051073 (Chris Jones)

Most likely the port here just needs rev bumping…

comment:6 Changed 19 months ago by cjones051073 (Chris Jones)

Resolution: fixed
Status: assignedclosed

Fixed via rev-bump

Note: See TracTickets for help on using tickets.