New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libtool: Version mismatch error when building openocd #974
Comments
This looks to me like you have configured ( Please, try a full clean build:
|
Resolved: If you are using conda, then this could be due to libtool and autoconf from different sources. Can check this by executing which libtool which autoconf In my case, although I have exited the conda environment, both libtool and autoconf was still pointed to the binary in a conda environment: > ~/Documents/RISCV/riscv-openocd$ which libtool
/home/tk/Desktop/chipyard-fpga/.conda-env/bin/libtool
> which autoconf
/home/tk/Desktop/chipyard-fpga/.conda-env/bin/autoconf which is a older version than what openocd build needs. I had to remove the conda environment by using the command conda remove -p /home/tk/Desktop/chipyard-fpga/.conda-env/ after removing the conda environment, it still cannot link to the default system binaries. After rebooting the system, it finally worked. > ~/Documents/RISCV/riscv-openocd$ which libtool
/usr/bin/libtool
> which autoconf
/usr/bin/autoconf |
Thanks for the reply! I figured out that it was indeed the environment issue, and have found the solution. Somehow I forgot to post the update above last night... |
System info
Error log
The text was updated successfully, but these errors were encountered: