You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libtool: Version mismatch error. This is libtool 2.5.4, but the
libtool: definition of this LT_INIT comes from libtool 2.4.7.
libtool: You should recreate aclocal.m4 with macros from libtool 2.5.4
libtool: and run autoconf again.
For a manual build, I know that properly re-running autoreconf would resolve the problem, but how can I avoid this error in vcpkg?
For reference, I'm using Homebrew on WSL2 with Ubuntu 20.04. If I unlink libtool, the build simply fails due to libtoolize being missing:
autoreconf: running: libtoolize --copy --force
Can't exec "libtoolize": No such file or directory at /home/linuxbrew/.linuxbrew/Cellar/autoconf/2.72/share/autoconf/Autom4te/FileUtils.pm line 318.
autoreconf: error: libtoolize failed with exit status: 2
If I also unlink autoconf:
mpfr requires autoconf from the system package manager (example: "sudo
apt-get install autoconf")
Does this mean a brewed autoconf/libtool cannot be used?
libtool: Version mismatch error. This is libtool 2.5.4, but the
libtool: definition of this LT_INIT comes from libtool 2.4.7.
libtool: You should recreate aclocal.m4 with macros from libtool 2.5.4
libtool: and run autoconf again.
make[2]: *** [Makefile:1016: add.lo] Error 63
make[2]: *** Waiting for unfinished jobs....
libtool: Version mismatch error. This is libtool 2.5.4, but the
libtool: definition of this LT_INIT comes from libtool 2.4.7.
libtool: You should recreate aclocal.m4 with macros from libtool 2.5.4
libtool: and run autoconf again.
make[2]: *** [Makefile:1016: ufloor_log2.lo] Error 63
libtool: Version mismatch error. This is libtool 2.5.4, but the
libtool: definition of this LT_INIT comes from libtool 2.4.7.
libtool: You should recreate aclocal.m4 with macros from libtool 2.5.4
libtool: and run autoconf again.
libtool: Version mismatch error. This is libtool 2.5.4, but the
libtool: definition of this LT_INIT comes from libtool 2.4.7.
libtool: You should recreate aclocal.m4 with macros from libtool 2.5.4
libtool: and run autoconf again.
make[2]: *** [Makefile:1016: uceil_exp2.lo] Error 63
make[2]: *** [Makefile:1016: add1.lo] Error 63
libtool: Version mismatch error. This is libtool 2.5.4, but the
libtool: definition of this LT_INIT comes from libtool 2.4.7.
libtool: You should recreate aclocal.m4 with macros from libtool 2.5.4
libtool: and run autoconf again.
make[2]: *** [Makefile:1016: extract.lo] Error 63
libtool: Version mismatch error. This is libtool 2.5.4, but the
libtool: definition of this LT_INIT comes from libtool 2.4.7.
libtool: You should recreate aclocal.m4 with macros from libtool 2.5.4
libtool: and run autoconf again.
make[2]: *** [Makefile:1016: agm.lo] Error 63
libtool: Version mismatch error. This is libtool 2.5.4, but the
libtool: definition of this LT_INIT comes from libtool 2.4.7.
libtool: You should recreate aclocal.m4 with macros from libtool 2.5.4
libtool: and run autoconf again.
libtool: Version mismatch error. This is libtool 2.5.4, but the
libtool: definition of this LT_INIT comes from libtool 2.4.7.
libtool: You should recreate aclocal.m4 with macros from libtool 2.5.4
libtool: and run autoconf again.
make[2]: *** [Makefile:1016: add_ui.lo] Error 63
make[2]: *** [Makefile:1016: uceil_log2.lo] Error 63
libtool: Version mismatch error. This is libtool 2.5.4, but the
libtool: definition of this LT_INIT comes from libtool 2.4.7.
libtool: You should recreate aclocal.m4 with macros from libtool 2.5.4
libtool: and run autoconf again.
make[2]: *** [Makefile:1016: exceptions.lo] Error 63
make[1]: *** [Makefile:644: all] Error 2
make: *** [Makefile:532: all-recursive] Error 1
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I encountered a
libtool
version mismatch error:For a manual build, I know that properly re-running
autoreconf
would resolve the problem, but how can I avoid this error invcpkg
?For reference, I'm using Homebrew on WSL2 with Ubuntu 20.04. If I unlink
libtool
, the build simply fails due tolibtoolize
being missing:If I also unlink
autoconf
:Does this mean a brewed
autoconf
/libtool
cannot be used?Package: mpfr:[email protected]
Host Environment
vcpkg-scripts version: 1338837 2025-02-11 (8 minutes ago)
To Reproduce
vcpkg install mpfr
Failure logs
/home/tueda/work/vcpkg/buildtrees/mpfr/build-x64-linux-dbg-err.log
/home/tueda/work/vcpkg/buildtrees/mpfr/build-x64-linux-dbg-out.log
Beta Was this translation helpful? Give feedback.
All reactions