This project is read-only.
1
Vote

Plugin not found: Kaldi2Reader.so

description

I am attempting to run a training script that has successfully been run on different machine, but I get the following error:
EXCEPTION occurred: Plugin not found: Kaldi2Reader.so
The README file in CNTK's top folder addresses this, saying:
To run the executable, make sure bin/ is in your ${LD_LIBRARY_PATH}, if not, running cn.exe will fail when cn.exe tries to link the corresponding reader
I have done this, but the error above persists. How can I fix it?

Thanks,
Tommy

comments

yzhang87 wrote Jan 7, 2016 at 3:39 AM

Hi,

Could you use "ldd " to check all the .so kaldi2reader referred is there?

There might be two reason: 1) it cannot find kaldi2reader 2) when kaldi2reader try to load some missing library, e.g. cuda.

tcpowers wrote Jan 7, 2016 at 10:39 PM

ldd /usr/local/cntk/bin/Kaldi2Reader.so
    linux-vdso.so.1 =>  (0x00007fff43335000)
    libkaldi-util.so => not found
    libkaldi-matrix.so => not found
    libkaldi-base.so => not found
    libkaldi-hmm.so => not found
    libkaldi-cudamatrix.so => not found
    libkaldi-nnet.so => not found
    libkaldi-lat.so => not found
    libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fab9c942000)
    libm.so.6 => /lib64/libm.so.6 (0x00007fab9c6be000)
    libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fab9c4a8000)
    libc.so.6 => /lib64/libc.so.6 (0x00007fab9c113000)
    /lib64/ld-linux-x86-64.so.2 (0x0000003a72000000)
I added the missing kaldi libraries to LD_LIBRARY_PATH and I no longer have the error.

Thanks!