Opened 6 years ago
Last modified 6 years ago
#56645 closed defect
zstd @1.3.4: opportunistically links with libz, liblz4, liblzma — at Initial Version
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | seanfarley (Sean Farley) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | |
Port: | zstd |
Description
When not using the universal variant, zstd will link with libz, liblz4 and liblzma if they are present:
$ port deps zstd zstd @1.3.4_1 has no dependencies. $ otool -L /opt/local/bin/zstd /opt/local/bin/zstd: /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11) /opt/local/lib/liblzma.5.dylib (compatibility version 8.0.0, current version 8.4.0) /opt/local/lib/liblz4.1.dylib (compatibility version 1.0.0, current version 1.8.2) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.60.2)
The zstd port should declare dependencies on the zlib, lz4 and xz ports and make their use explicit via configure args.
Or, if the use of these libraries is not desired, the port must ensure they are not used, even if they are installed.
Whichever solution is chosen, the revision
will need to be increased.
Note: See
TracTickets for help on using
tickets.