Opened 4 years ago

Closed 4 years ago

#62003 closed defect (fixed)

et: @6.0.11_0 published binaries broken; based on older protobuf3 dylib

Reported by: mascguy (Christopher Nielsen) Owned by: l2dy (Zero King)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: et

Description (last modified by mascguy (Christopher Nielsen))

Binary install of et @6.0.11_0 provides an outdated binary, which expects dylib ${prefix}/lib/libprotobuf-lite.23.dylib:

$ et
dyld: Library not loaded: /opt/local/lib/libprotobuf-lite.23.dylib
  Referenced from: /opt/local/bin/et
  Reason: image not found
Abort trap: 6

However, the latest version of protobuf3 installs ${prefix}/lib/libprotobuf-lite.25.dylib.

Ideally, et should reference ${prefix}/lib/libprotobuf-lite.dylib, to eliminate necessity of rebuilding when dependencies are updated. Ditto for libsodium.dylib.

$ otool -L /opt/local/bin/et
/opt/local/bin/et:
    /opt/local/lib/libprotobuf-lite.23.dylib (compatibility version 24.0.0, current version 24.4.0)
    /opt/local/lib/libsodium.23.dylib (compatibility version 27.0.0, current version 27.0.0)
    /usr/lib/libutil.dylib (compatibility version 1.0.0, current version 1.0.0)
    /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0)
    /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.5.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.60.2)

Users can sidestep this by installing from source, but perhaps it might make sense for a revision bump ASAP to fix this...

Change History (2)

comment:1 Changed 4 years ago by mascguy (Christopher Nielsen)

Description: modified (diff)

comment:2 Changed 4 years ago by l2dy (Zero King)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.