bug-gawk
[Top][All Lists]
Advanced

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

Re: Found a libtool issue


From: Manuel Collado
Subject: Re: Found a libtool issue
Date: Thu, 19 May 2022 20:38:38 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0

El 19/05/2022 a las 18:30, Eli Zaretskii escribió:

Further findings. Excerpt of a chat in Msys2 about MinGW issues, dated Jan 2021.
------------------
[...]

*** Warning: linker path does not have real file for library -ldl.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libdl and none of the candidates passed a file format test
*** using a file magic. Last file checked: C:/msys64/mingw64/lib/libdl.a

[...]

lt_cv_deplibs_check_method=${lt_cv_deplibs_check_method='pass_all'} should shut it up.

[...]

it is a known problem with libtool on windows, on unix libtool uses file
magic to get dependencies but this does not quite work on windows even
though the tool can be build with mingw* it uses windows paths which
confuses libtool so it is not normally included. The above is a
workaround for cases like that, if you prefer to newer see this warning
you can simply yank it into /mingw*/etc/config.site.

[...]
------------------

The workaround has been previously suggested to me by Jannik. In a private mail. And it works.

But if it is a known libtool issue, I still wonder why you don't have any problem building gawk-mpfr out-of-the-box.


The shell script function that is the value of $file_magic_cmd invokes
the 'file.exe' command -- do you have an MSYS version of that? or a
MinGW version of that?

mcollado@PC6 /c/Temp/gawextlib-mingw/gawk-mpfr-1.1.0
$ which file
/bin/file.exe

mcollado@PC6 /c/Temp/gawextlib-mingw/gawk-mpfr-1.1.0
$ file --version
file-5.04
magic file from /etc/magic:/usr/share/misc/magic

mcollado@PC6 /c/Temp/gawextlib-mingw/gawk-mpfr-1.1.0
$ file /c/gnu/lib/*
/c/gnu/lib/gawk:                directory
/c/gnu/lib/libgawkextlib.dll.a: current ar archive

mcollado@PC6 /c/Temp/gawextlib-mingw/gawk-mpfr-1.1.0
$ ./libtool --version
libtool (GNU libtool) 2.4.6
Written by Gordon Matzigkeit, 1996


Are there differences w.r.t. what you see on your environment?

Thanks.
--
Manuel Collado - http://mcollado.z15.es



reply via email to

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