bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /usr/lib/gcc/x86_64-alpine-linux-musl: libgettextlib.so: undefined r


From: Jeffrey Walton
Subject: Re: /usr/lib/gcc/x86_64-alpine-linux-musl: libgettextlib.so: undefined reference to `libiconv'
Date: Mon, 15 Jun 2020 19:29:59 -0400

On Mon, Jun 15, 2020 at 7:19 PM Jeffrey Walton <noloader@gmail.com> wrote:
> On Mon, Jun 15, 2020 at 4:02 PM Bruno Haible <bruno@clisp.org> wrote:
> > ...
> > > I believe I'm doing what the manual says: (1) build libiconv, install
> > > it, (2) build gettext, install it, (3) build libiconv again, install
> > > it again.
> >
> > And you are now in the step (2)?
>
> Yes.
>
> > We need to find out why gettext-tools/config.status contains an empty
> > LIBICONV and LTLIBICONV variable. The place to look is 
> > gettext-tools/config.log.
> >
> > > I think the circular dependency is a very bad idea. But it is not my
> > > call to make.
> >
> > It is not as bad as you think:
> >   - gettext depends on the iconv _library_.
> >   - The iconv _program_ depends on gettext and the iconv library.
> > So, it the iconv library and the iconv program were in separate packages,
> > there would not be a circular dependency.
>
> OK, so I was able to get past the link failures by adding
> LIBS="-liconv" and then configuring.
>
> 'make check' is having some troubles, though. I'm seeing intermittent 
> failures.
>
> PASS: msgcat-1
> FAIL: msgcat-2
> FAIL: msgcat-3
> FAIL: msgcat-4
> PASS: msgcat-5

So this is kind of weird... GetText was configured with
--with-libiconv-prefix="$MY_PREFIX".

But then:

$ cat gettext-0.20.2/gettext-tools/tests/test-suite.log
...

FAIL: msgcat-2
==============
msgcat: Cannot convert from "ISO-8859-1" to "UTF-8". msgcat relies on
iconv(). This version was built without iconv().
FAIL msgcat-2 (exit status: 1)

I'm attaching gettext-tools/config.log.

Jeff

Attachment: config.log.zip
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]