Opened 3 years ago
Last modified 3 years ago
#63106 closed defect
Libtool should be a lib-dependency — at Initial Version
Reported by: | NuvandaPV (Jean-Pierre Höhmann) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | clamav |
Description
Issue summary
Libtool is currently a dev-dependency of the clamav-port, however libtool is used during runtime.
Steps to reproduce
- Install clamav
- Uninstall libtool
- Try running clamd
- Observe failure
Expected outcome
If trying to uninstall libtool does not produce an error, ClamAV should work without it.
Observed failure
- Uninstalling libtool does not cause an error, as it is only a build-dependency of macports
- Trying to run clamav afterwards fails
Error message
dyld: Library not loaded: /opt/local/lib/libltdl.7.dylib Referenced from: /opt/local/bin/clamdtop Reason: imgae not found Abort trap: 6
Solution
Add libtool as lib-dependency.
Environment
- MacBook Air (M1, 2020)
- macOS Big Sur Version 11.4 (20F71)
- Xcode Version 12.5 (12E262)
- MacPorts 2.7.1
- clamav-server @0.101.2_4 (sysutils)
- clamav @0.103.2_1 (sysutils)
- libtool @2.4.6_11 (devel, sysutils)
Note: See
TracTickets for help on using
tickets.