GNU bug report logs - #73737
configure error at "checking dynamic linker characteristics"

Previous Next

Package: libtool;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Thu, 10 Oct 2024 19:48:01 UTC

Severity: normal

Done: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: bug-libtool <at> gnu.org
Subject: configure error at "checking dynamic linker characteristics"
Date: Thu, 10 Oct 2024 21:46:59 +0200
In a build of GNU gettext, with libtool 2.5.3 + Sergey's fix,
on mingw with --disable-shared, I see this error during configuration:

checking whether the x86_64-w64-mingw32-gcc linker (/usr/x86_64-w64-mingw32/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... ../../gettext-runtime/configure: line 17525: test: yes: unary operator expected
Win32 ld.exe
checking how to hardcode library paths into programs... immediate

At gettext-runtime/configure line 17525 we have this statement:

    # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
    if test yes = $multilib; then                                           <=== HERE
    postinstall_cmds='base_file=`basename \$file`~

Apparently $multilib is empty or expands to more than one word.

This code was added in commit ab89ebbcc2ff0ecff5157982ef03627cfd615f7e .

The main problem is that the variable 'multilib' is never defined in libtool.m4.
Where is it supposed to be defined?

Other than that, this commit has two problems:
  - missing indentation of the two branches of the 'if' statement.
  - a typo (mulitlibs -> multilib)

Bruno







This bug report was last modified 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.