[MacPorts] #70609: perl5.34 fails to build on riscv64: undefined reference to `libintl_textdomain'
MacPorts
noreply at macports.org
Mon Sep 2 07:13:31 UTC 2024
#70609: perl5.34 fails to build on riscv64: undefined reference to
`libintl_textdomain'
---------------------------+----------------------------
Reporter: barracuda156 | Owner: mojca
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.0
Resolution: | Keywords: linux, riscv64
Port: perl5.34 |
---------------------------+----------------------------
Comment (by barracuda156):
Replying to [comment:1 ryandesign]:
> I don't see `-lintl` on the line that invokes clang as a linker. That
would be required to link with the libintl library that contains that
symbol. If you attach the main.log file maybe it will provide insight into
why that flag was omitted though of course as you know we have no
experience building anything on Linux. Do you have the gettext and
gettext-runtime ports installed? The perl5.34 port doesn't declare a build
dependency on gettext nor a library dependency on gettext-runtime so I
guess it was not expected that it would use them, and it doesn't seem to
use them on macOS.
>
> Here is an upstream bug report matching yours:
https://github.com/Perl/perl5/issues/18467
How do I pass flags to perl? It seems to ignore standard ways of doing it.
--
Ticket URL: <https://trac.macports.org/ticket/70609#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list