[MacPorts] #63106: Libtool should be a lib-dependency
MacPorts
noreply at macports.org
Wed Jun 16 10:59:34 UTC 2021
#63106: Libtool should be a lib-dependency
-----------------------+--------------------
Reporter: NuvandaPV | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: clamav
-----------------------+--------------------
**Issue summary**
Libtool is currently a dev-dependency of the clamav-port, however libtool
is used during runtime.
**Steps to reproduce**
1. Install clamav
2. Uninstall libtool
3. Try running clamd
4. 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)
--
Ticket URL: <https://trac.macports.org/ticket/63106>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list