You are not logged in.

#1 2022-01-29 17:00:20

Stephen233
Member
Registered: 2020-02-29
Posts: 6

[SOLVED] How to resolve libtool conflict

I am attempting to install cava and received the following error. The package is just eye candy but I would like to know the steps to fix such an issues as I do not understand what "You should recreate aclocal.m4 with macros from libtool 2.4.6" means or even if that is relevant to fixing the issue.

libtool: Version mismatch error.  This is libtool 2.4.6, but the
libtool: definition of this LT_INIT comes from libtool 2.4.6.42-b88ce-dirty.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6
libtool: and run autoconf again.
make: *** [Makefile:518: cava] Error 63 

possibly useful information

❯ paru -Si cava
Repository      : aur
Name            : cava
Version         : 0.7.4-1
Description     : Console-based Audio Visualizer for Alsa
URL             : https://github.com/karlstav/cava
AUR URL         : https://aur.archlinux.org/packages/cava
Groups          : None
Licenses        : MIT
Provides        : None
Depends On      : fftw  alsa-lib  ncurses  iniparser
Make Deps       : None
Check Deps      : None
Optional Deps   : sndio  pulseaudio  portaudio
Conflicts With  : None
Maintainer      : funilrys
Votes           : 120
Popularity      : 3.608846
First Submitted : Tue, 05 May 2015 22:15:19 +0000
Last Modified   : Wed, 19 May 2021 17:28:05 +0000
Out Of Date     : No

❯ paru -Qi libtool
Name            : libtool
Version         : 2.4.6+42+gb88cebd5-16
Description     : A generic library support script
Architecture    : x86_64
URL             : https://www.gnu.org/software/libtool
Licenses        : GPL
Groups          : base-devel
Provides        : libltdl=2.4.6+42+gb88cebd5  libtool-multilib=2.4.6+42+gb88cebd5
Depends On      : sh  tar  glibc
Optional Deps   : None
Required By     : docker  graphicsmagick  graphviz  guile  hwloc  imagemagick  lib32-libltdl  libcanberra  libgphoto2  mpg123  openmpi
                  pulseaudio  redland  unixodbc  xmlsec
Optional For    : None
Conflicts With  : libltdl  libtool-multilib
Replaces        : libltdl  libtool-multilib
Installed Size  : 2.20 MiB
Packager        : Allan McRae <allan@archlinux.org>
Build Date      : Thu 13 May 2021 12:26:57 AM EDT
Install Date    : Wed 10 Nov 2021 04:18:02 PM EST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Last edited by Stephen233 (2022-01-29 21:42:43)

Offline

#2 2022-01-29 19:00:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,754

Re: [SOLVED] How to resolve libtool conflict

You have an older libtool and somewhere and it's the one being resolved instead of the newer one

Does a clean rebuild help?:  https://wiki.archlinux.org/title/Makepkg#Usage see the section about --clean

Other than that what's

pacman -Qkk libtool
printenv | grep LD

Moving to AUR issues

Last edited by V1del (2022-01-29 19:09:48)

Offline

#3 2022-01-29 21:41:00

Stephen233
Member
Registered: 2020-02-29
Posts: 6

Re: [SOLVED] How to resolve libtool conflict

V1del wrote:

You have an older libtool and somewhere and it's the one being resolved instead of the newer one

Thanks for the help it was a stupid python thing. The anaconda bin location was being added to the beginning of my PATH variable so it was using that one.

❯ which libtool
/usr/local/anaconda3/bin/libtool

Offline

Board footer

Powered by FluxBB