I wan't to use ALIZE for speaker recognition and after the instalation there is one of the steps: feature extraction using SPRO or HTK So I downloaded zip file of HTK and using terminal I configured everything, but when entering make all I'm getting this error:
我不打算用它来实现说话人的识别,在instalation之后,有一个步骤:使用SPRO或HTK的特征提取,所以我下载了HTK的zip文件并使用终端配置了所有的东西,但是当输入时,我就会得到这个错误:
/usr/bin/ld: cannot find -lX11
collect2: error: ld returned 1 exit status
Makefile:56: recipe for target 'HSLab' failed
make[1]: *** [HSLab] Error 1
make[1]: Leaving directory '/home/username/Downloads/htk/HTKTools'
Makefile:108: recipe for target 'htktools' failed
make: *** [htktools] Error 1
what does it mean and how to fix this? I'm looking for answer for hours and can't find anything...
这意味着什么,如何解决这个问题?我找了好几个小时都找不到答案……
I'm using HTK 3.4.1 stable version and LInux ubuntu 16.10
我使用的是HTK 3.4.1稳定版和LInux ubuntu 16.10
1 个解决方案
#1
2
The error cannot find -lX11
means that ld
can't find the libraries for X11 (the X.Org display server). The required libraries can be found in the libx11-dev
package which can be installed with:
这个错误找不到-lX11意味着ld找不到X11 (X)的库。Org显示服务器)。可以在libx11-dev包中找到所需的库,该包可以安装如下:
sudo apt-get install libx11-dev
This should resolve your issue, as long as the libraries install in the LD_LIBRARY_PATH
(which is likely if apt-get
handles it).
这应该可以解决您的问题,只要库安装在LD_LIBRARY_PATH中(如果apt-get处理它,这很可能)。
On 64-bit systems, you might need to explicitly state the 32-bit version is required:
在64位系统上,您可能需要显式地声明需要的32位版本:
sudo apt-get install libx11-dev:i386
#1
2
The error cannot find -lX11
means that ld
can't find the libraries for X11 (the X.Org display server). The required libraries can be found in the libx11-dev
package which can be installed with:
这个错误找不到-lX11意味着ld找不到X11 (X)的库。Org显示服务器)。可以在libx11-dev包中找到所需的库,该包可以安装如下:
sudo apt-get install libx11-dev
This should resolve your issue, as long as the libraries install in the LD_LIBRARY_PATH
(which is likely if apt-get
handles it).
这应该可以解决您的问题,只要库安装在LD_LIBRARY_PATH中(如果apt-get处理它,这很可能)。
On 64-bit systems, you might need to explicitly state the 32-bit version is required:
在64位系统上,您可能需要显式地声明需要的32位版本:
sudo apt-get install libx11-dev:i386