libtool已安装,但安装后未在路径上


21

我正在尝试安装libtool。即使安装后,它似乎也不可用。

任何有价值的帮助。

ubuntu@ip-172-30-2-10:/opt/backend.mydomain.com/HaLVM$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 15.04
Release:    15.04
Codename:   vivid

ubuntu@ip-172-30-2-10:/opt/backend.mydomain.com/HaLVM$ which libtool

ubuntu@ip-172-30-2-10:/opt/backend.mydomain.com/HaLVM$ sudo apt-get remove --purge libtool
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libtool*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 826 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 66863 files and directories currently installed.)
Removing libtool (2.4.2-1.11) ...
Processing triggers for man-db (2.7.0.2-5) ...


ubuntu@ip-172-30-2-10:/opt/backend.mydomain.com/HaLVM$ sudo apt-get install libtool
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  libtool-doc gfortran fortran95-compiler gcj-jdk
The following NEW packages will be installed:
  libtool
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/180 kB of archives.
After this operation, 826 kB of additional disk space will be used.
Selecting previously unselected package libtool.
(Reading database ... 66838 files and directories currently installed.)
Preparing to unpack .../libtool_2.4.2-1.11_all.deb ...
Unpacking libtool (2.4.2-1.11) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libtool (2.4.2-1.11) ...


ubuntu@ip-172-30-2-10:/opt/backend.mydomain.com/HaLVM$ which libtool

1
尝试locate libtoolwhereis libtool
Maythux

1
你的路径是什么?命令的输出echo $PATH
Maythux 2015年

Answers:


41

固定它

sudo apt-get install libtool-bin

我发现libtool-binsudo apt-get update && sudo apt-get dist-upgrade重启后才可用的软件包sudo apt-get update
morloch 2015年

6

在我的Ubuntu LTS中,我尝试了

sudo apt-get install libtool

在源文件夹的根目录中

autoconf
autoreconf --install 

成功完成

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.