Opened 4 years ago

Last modified 4 years ago

#61854 closed defect

starship: missing lib dependencies — at Initial Version

Reported by: amake (Aaron Madlon-Kay) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: herbygillot (Herby Gillot)
Port: starship

Description

I recently installed starship on a fresh installation with very few packages so I happened to notice that it died due to missing libiconv.

In fact it depends on two MacPorts libraries not noted in the portfile: libz and libiconv

% otool -L /opt/local/bin/starship   
/opt/local/bin/starship:
	/System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 59754.41.1)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1770.106.0)
	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
	/opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0, current version 9.1.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1292.0.0)
	/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0)

libz will always be installed because it is a transitive dependency:

% port rdeps --no-build starship     
The following ports are dependencies of starship @0.47.0_0:
  openssl
    zlib

So I don't know if zlib should be explicitly added.

Change History (0)

Note: See TracTickets for help on using tickets.