[MacPorts] #61086: graphviz at 2.40.1_3+pangocairo+x11: /usr/lib//libiconv.la: No such file
MacPorts
noreply at macports.org
Mon Aug 31 00:04:38 UTC 2020
#61086: graphviz at 2.40.1_3+pangocairo+x11: /usr/lib//libiconv.la: No such file
-----------------------+------------------------
Reporter: JDLH | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: | Keywords:
Port: graphviz |
-----------------------+------------------------
Comment (by JDLH):
There is a `libgd.lai` in the mix also. I am not familiar with the `.lai`
extension. The dates aren't exactly the same, but two of the files are
identical. They are all very old.
{{{
% ls -lT /opt/local/lib/libgd.la* /usr/local/lib/libgd.la*
-rw-r--r-- 1 root wheel 1028 11 Jul 12:03:54 2008
/opt/local/lib/libgd.la
-rw-r--r-- 1 root wheel 1028 11 Jul 12:02:35 2008
/opt/local/lib/libgd.lai
-rwxr-xr-x@ 1 root wheel 1028 11 Jul 12:11:04 2008
/usr/local/lib/libgd.la
% openssl dgst -md5 /opt/local/lib/libgd.la* /usr/local/lib/libgd.la*
MD5(/opt/local/lib/libgd.la )= 970e85327a186aab6251114b8fd90e3c
MD5(/opt/local/lib/libgd.lai)= 78e72d984c947b56158535c18f6677ea
MD5(/usr/local/lib/libgd.la )= 78e72d984c947b56158535c18f6677ea
}}}
(I tweaked the spacing to make the digests line up, for easier
comparison.)
None of these libraries is claimed by a port.
{{{
% port provides /opt/local/lib/libgd.la* /usr/local/lib/libgd.la*
/opt/local/lib/libgd.la is not provided by a MacPorts port.
/opt/local/lib/libgd.lai is not provided by a MacPorts port.
/usr/local/lib/libgd.la is not provided by a MacPorts port.
}}}
I renamed the `/opt/local/lib/libgd.la*` files to hide them from MacPorts.
{{{
% cd /opt/local/lib
% foreach f (libgd.la*) do ; sudo mv $f ${f}.DISABLED_2020-08-30 ; done
Password:
Nothung% ls -lT libgd.la*
-rw-r--r-- 1 root wheel 1028 11 Jul 12:03:54 2008
libgd.la.DISABLED_2020-08-30
-rw-r--r-- 1 root wheel 1028 11 Jul 12:02:35 2008
libgd.lai.DISABLED_2020-08-30
}}}
With that, `sudo port install graphviz` run successfully. The workaround
seems effective!
Thank you!
--
Ticket URL: <https://trac.macports.org/ticket/61086#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list