Disabling HSLab to compile HTK

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:

2 Responses to “Disabling HSLab to compile HTK”

  1. JosherK Says:

    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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.