bug#17840: [PATCH] libtool: Use 'file' instead of '/usr/bin/file' on GNU systems.

Sam James <[email protected]> Wed, 28 Sep 2022 21:29:01 +0100
Newsgroups gmane.comp.gnu.libtool.bugs
Message-ID <[email protected]>

> On 28 Sep 2022, at 14:34, Felix Lechner via Bug-libtool via Bug reports for the GNU libtool shared library maintenance tool <[email protected]> wrote:
> 
> Hi,
> 
>> there are a number of different 'file' programs and libtool expects
>> particular output from the 'file' program that it uses.
> 
> I only have one kind of 'file' program installed, and Libtool cannot find it.
> 
> Developing on Guix—which is a GNU project like Libtool—I hope to
> migrate the authentication logic in Linux PAM to Guile (another GNU
> project). I presently use Autotools and Libtool. [1] When running
> './configure' I get the error:
> 
>    ./configure: line 6750: /usr/bin/file: No such file or directory

Which version of libtool? Can you share the header of the configure script too?

See also https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=da2e352735722917bf0786284411262195a6a3f6
which landed in 2.4.7. Note that configure scripts must be regenerated using a newer libtool to use this.

(See also the far older https://lists.gnu.org/archive/html/bug-libtool/2014-06/msg00005.html but I don't
think that landed at a very quick glance).

Best,
sam

_______________________________________________
Bug-libtool mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-libtool
signature.asc (application/pgp-signature, 358 B)
-----BEGIN PGP SIGNATURE-----

iNUEARYKAH0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCYzSujV8UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB
NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MAAKCRBzhAn1IN+R
kH5NAQD3E44I24YmS/xVTVtQazDPXOviIJZWIBSOteDlhNx17AD/RpdJNd6w6AXF
+Ur0FBHCndrz+JHDIURu1blytJwNWQ8=
=+IMF
-----END PGP SIGNATURE-----