[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: undefined reference to `libintl_dgettext'
From: |
Jeffrey Walton |
Subject: |
Re: undefined reference to `libintl_dgettext' |
Date: |
Wed, 22 Jul 2020 10:19:58 -0400 |
On Tue, Jul 21, 2020 at 4:09 PM Bruno Haible <bruno@clisp.org> wrote:
>
> Hi Jeffrey,
>
> > I'm building Autogen from sources. Autogen is failing most of its self
> > tests due to:
> >
> > WARNING: 'test-main' is obsolete and should not be used any more. Use
> > 'main'.
> > /bin/bash: line 307: cd: /home/jwalton/tmp/ok2delete/include/autoopts:
> > No such file or directory
> > /home/jwalton/Build-Scripts/autogen-5.18.16/autoopts/.libs/libopts_la-libopts.o:
> > In function `print_one_paragraph':
> > /home/jwalton/Build-Scripts/autogen-5.18.16/autoopts/usage.c:376:
> > undefined reference to `libintl_dgettext'
> > /home/jwalton/Build-Scripts/autogen-5.18.16/autoopts/usage.c:378:
> > undefined reference to `libintl_gettext'
> > collect2: error: ld returned 1 exit status
>
> The FAQ will guide you through the analysis.
> https://www.gnu.org/software/gettext/FAQ.html#integrating_undefined
Thanks.
You're gonna love this... The problem was Autotools. I made the
mistake of installing an updated M4, Autoconf, Automake and Libtool
into $prefix.
I know better than trying to update Autotools. It is an unsupported
configuration. The process is completely broken.
Jeff