[MacPorts] #60220: librsvg @2.48.0_0 +x11: ld: symbol(s) not found for architecture x86_64
MacPorts
noreply at macports.org
Mon Mar 30 01:09:14 UTC 2020
#60220: librsvg @2.48.0_0 +x11: ld: symbol(s) not found for architecture x86_64
----------------------+-----------------------------------------
Reporter: JDLH | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords: elcapitan sierra highsierra
Port: librsvg |
----------------------+-----------------------------------------
Comment (by JDLH):
Thank you, Davide, for preparing a pull request.
For the benefit of any others using this workaround before the portfile
gets fixed, here's the specific way I applied the workaround. It was
successful for me on macOS 10.13.6 High Sierra.
In the Portfile (path: `$(port file librsvg)`), I added two lines after
line 95. Lines 93-95 have the `configure.args` parameter. One added line
is a comment, the other is the workaround. After the edit, my new lines
93-97 look like this:
{{{
configure.args --enable-vala=yes \
--disable-silent-rules \
--disable-Bsymbolic
# @@@ workaround to bug https://trac.macports.org/ticket/60220
configure.ldflags-append "-lobjc"
}}}
It may well be that the `configure.ldflags-append` line could be almost
anywhere in the portfile (outside of a block in `{}` braces), but I don't
know portfile syntax well enough to be sure of that.
--
Ticket URL: <https://trac.macports.org/ticket/60220#comment:29>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list