Checking OpenFst library in /home/mawennan/espnet/kaldi/tools/openfst-1.6.7/src ... ***configure failed: Static=[false] OpenFST library not found: See ../tools/INSTALL *** 如何解决
时间: 2023-08-30 12:07:16 浏览: 42
这个问题可能是由于缺少OpenFST库或者库没有正确配置导致的。您可以按照以下步骤尝试解决这个问题:
1. 确认您已经正确安装了OpenFST库。如果没有安装,您可以从OpenFST的官方网站下载并安装它。
2. 确认您的系统环境变量是否正确设置了OpenFST的路径。可以使用以下命令查看:
```
echo $LD_LIBRARY_PATH
```
如果OpenFST的路径没有被包含在环境变量中,可以使用以下命令将其添加到环境变量中:
```
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/OpenFST/lib
```
其中`/path/to/OpenFST/lib`应该替换成您OpenFST库的实际路径。
3. 如果您已经正确安装了OpenFST库,但是仍然遇到了这个问题,那么可能是因为编译程序时没有正确设置OpenFST的路径。可以在编译程序时手动指定OpenFST的路径:
```
./configure --with-openfst=/path/to/OpenFST
```
其中`/path/to/OpenFST`应该替换成您OpenFST库的实际路径。
希望这些步骤能够帮助您解决问题。
相关问题
Configuring KALDI to use MKL. Checking compiler c++ ... Checking OpenFst library in /home/mzh/kaldi/tools/openfst-1.7.2 ... Checking cub library in /home/mzh/kaldi/tools/cub-1.8.0 ... Performing OS specific configuration ... On Linux: Checking for linear algebra header files ... Configuring MKL library directory: ***configure failed: Could not find the MKL library directory. Please use the switch --mkl-root and/or --mkl-libdir if you have MKL installed, or try another math library, e.g. --mathlib=OPENBLAS (Kaldi may be slower). ***
这个错误提示是因为在编译 Kaldi 时没有找到 MKL(maths kernel library) 库文件。要解决这个问题,可以按照以下步骤进行:
1. 确认你已经安装了 MKL 库,并确定其路径。如果你没有安装 MKL,可以在 Intel 官网上下载并安装。
2. 在编译 Kaldi 时,增加 `--mkl-root` 和 `--mkl-libdir` 两个参数,指定 MKL 库文件的路径。例如:
```
./configure --mathlib=mkl --mkl-root=/path/to/mkl --mkl-libdir=/path/to/mkl/lib/intel64
```
其中,`/path/to/mkl` 是你的 MKL 安装路径,`/path/to/mkl/lib/intel64` 是 MKL 库文件的路径。
3. 重新编译 Kaldi。
如果你仍然无法解决问题,可以尝试使用其他数学库,如 OpenBLAS。在第二步中,将 `--mathlib` 参数设置为 `openblas` 即可。
http://localhost:8001/static/plugins/ueditor-1.4.3.3/ueditor.config.js
<<用:问题描述:Refused to apply style from 'http://localhost:63342/static/detail/css/all.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.>> 根据你提供的引用内容,这个错误是由于严格的MIME类型检查导致的。浏览器拒绝应用来自'http://localhost:63342/static/detail/css/all.css'的样式,因为它的MIME类型不是支持的样式表MIME类型。如果你想解决这个问题,你可以检查配置文件或服务器端设置,确保返回的MIME类型正确。你可以尝试修改服务器端的配置来更改MIME类型为正确的样式表MIME类型。