Opened 5 years ago
Closed 5 years ago
#59448 closed defect (fixed)
clamav undeclared dependency on icu
Reported by: | danielluke (Daniel J. Luke) | Owned by: | dluke |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | clamav |
Description
clamd ends up linked with icu:
% otool -L /opt/local/sbin/clamd /opt/local/sbin/clamd: /opt/local/lib/libclamav.9.dylib (compatibility version 10.0.0, current version 10.4.0) /opt/local/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.8) /opt/local/lib/libltdl.7.dylib (compatibility version 11.0.0, current version 11.1.0) /opt/local/lib/libxml2.2.dylib (compatibility version 12.0.0, current version 12.9.0) /opt/local/lib/liblzma.5.dylib (compatibility version 8.0.0, current version 8.4.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4) /opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0, current version 9.1.0) /opt/local/lib/libicui18n.65.dylib (compatibility version 65.0.0, current version 65.1.0) /opt/local/lib/libicuuc.65.dylib (compatibility version 65.0.0, current version 65.1.0) /opt/local/lib/libicudata.65.dylib (compatibility version 65.0.0, current version 65.1.0) /opt/local/lib/libclammspack.0.dylib (compatibility version 2.0.0, current version 2.0.0) /opt/local/lib/libssl.1.1.dylib (compatibility version 1.1.0, current version 1.1.0) /opt/local/lib/libcrypto.1.1.dylib (compatibility version 1.1.0, current version 1.1.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11) /opt/local/lib/libjson-c.3.dylib (compatibility version 4.0.0, current version 4.1.0) /opt/local/lib/libpcre2-8.0.dylib (compatibility version 9.0.0, current version 9.0.0) /opt/local/lib/libcharset.1.dylib (compatibility version 2.0.0, current version 2.0.0)
Either it needs to declare a dependency on icu, or the build needs to be fixed (perhaps it's using xml2-config --libs and should be changed to use pkg-config --libs libxml-2.0)
Change History (2)
comment:1 Changed 5 years ago by danielluke (Daniel J. Luke)
comment:2 Changed 5 years ago by danielluke (Daniel J. Luke)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Changing to pkg-config results in a build that passes included tests and doesn't overlink: