I was attempting to compile HTK (version 3.4) on a 64-bit Linux system, and I received this error for HSLab:
/usr/bin/ld: skipping incompatible /usr/lib64/libX11.so when searching for -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [HSLab] Error 1
I solved this by passing the following two arguments to the configure script:
$ configure --without-x --disable-hslab
After the new Makefiles were generated, make all worked and built all of the HTK tools except HSLab.
Advertisement
Tags: HTK
March 31, 2011 at 4:24 pm |
I got around this issue by installing libx11-dev
I also had to install libc6-dev-i386 due to complaints about missing header files.
After that the full HTK compiled fine on my 64-bit AMD running Linux Mint.
By the way, your site is very helpful. Much appreciated.
March 31, 2011 at 9:13 pm |
@JosherK: Thanks for the tip. I’ll try it out for my next HTK installation.