Summary: | =sys-devel/gettext-0.19.8.1 - ../gnulib-lib/.libs/libgettextlib.so: error: undefined reference to 'log10' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Walter Hüttenmeyer <walter.huettenmeyer> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
sys-devel:gettext-0.19.8.1:20180311-133218.log
/etc/portage/env/gettext.conf build log of successful merge |
Created attachment 523492 [details]
/etc/portage/env/gettext.conf
putting
sys-devel/gettext gettext.conf
in /etc/portage/package.env
fixes the issue.
Created attachment 523494 [details] build log of successful merge when creating the environment with attachment#523492 [details] it works. solution found here: https://stackoverflow.com/questions/31403210/undefined-reference-to-log10-function Weirdly enough, without any special treatment it works now.... no references to gettext in any package.env file, just works (tm) Sorry for the single-case-fuss! |
Created attachment 523490 [details] sys-devel:gettext-0.19.8.1:20180311-133218.log sys-devel/gettext-0.19.8.1 is referencing log10, which is included in libm This library is not passed to the linker, so it will fail. Adding "-lm" to LDFLAGS fixes the issue, both on arm and amd64