[MacPorts] #63106: clamav: libtool is also a runtime dependency (was: Libtool should be a lib-dependency)
MacPorts
noreply at macports.org
Wed Jun 16 11:07:33 UTC 2021
#63106: clamav: libtool is also a runtime dependency
------------------------+------------------------
Reporter: NuvandaPV | Owner: danielluke
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: clamav |
------------------------+------------------------
Changes (by reneeotten):
* owner: (none) => danielluke
* status: new => assigned
Old description:
> **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)
New description:
**Issue summary**
Libtool is currently a build 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#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list