Click here to register.

Comments

Flat
HTK comple error.
User: Sergey S.
Date: 4/12/2008 8:13 pm
Views: 1117
Rating: 12    Rate [
]

Hello, 

I am trying to compile HTK-3.4 on Ubuntu 7.10 but I get this error:

 make all

...

/usr/bin/ld: skipping incompatible /usr/bin/../lib/libX11.so when searching for -lX11
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libX11.a when searching for -lX11
/usr/bin/ld: skipping incompatible /usr/lib/libX11.so when searching for -lX11
/usr/bin/ld: skipping incompatible /usr/lib/libX11.a when searching for -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [HSLab] Error 1
make[1]: Leaving directory `/home/serg/bin/htk/HTKTools'
make: *** [htktools] Error 1

Any idea what might be wrong?

Thanks in advance,

--Sergey 

Reply
Re: HTK comple error.
User: Sergey S.
Date: 4/13/2008 5:43 am
Views: 132
Rating: 13    Rate [
]

I have found that it is because HTK requires 32 bit libraries. I have tryed to install them using getlibs from http://ubuntuforums.org/showthread.php?t=474790.  It solved the libx11-dev. But then I had a new problem - lib32gcc1 which it could not find in repositories. 

I will try to install a 32 bit version of Ubuntu.

Reply
Re: HTK comple error.
User: kmaclean
Date: 4/13/2008 9:44 am
Views: 102
Rating: 17    Rate [
]

Hi Sergey,

I compiled HTK v3.4 on 64-bit Fedora (AMD64) with no problems.  I am running gcc version 4.1.1 20061011 (Red Hat 4.1.1-30).

I think your problem might be that need the dev version of libX11, or you have the 32-bit version of libX11 installed and you need the 64-bit version, or both (i.e. you need the 64-bit dev version of lbX11). 

Note that I think that libX11 is only required for HSLab - the HTK graphical audio recorder.  You don't really need this if you are recording your voice with Audacity.  You could just remove HSLab from your make files and try compiling without it.

Ken 

Reply
Re: HTK comple error.
User: Sergey S.
Date: 4/16/2008 8:50 am
Views: 91
Rating: 13    Rate [
]
Hi Ken,
Thanks for the info.
I think that Fedora is better in regard of compatibility with 32 bit libraries.
In Ubuntu there is no easy way to install a specific library version.
Someone wrote a script for this purpose but on my computer it does not work.
It gives me error:
"Failed to download file http://us.archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.2/lib32gcc1_4.2.1-5ubuntu4_i386.deb".
Instead of debugging the script I thought it would be easier to install a 32bit version of Ubuntu on another partition.
It was not very straight forward either. Fedora again is much better here too.
Unfortunately Fedora does not work very good with my motherboard, so I have to use Ubuntu.
And Ubuntu has other nice features that other distro lack, so I don't suffer much ;-)
After I configure the environment in 32 bit Ubuntu I will install the HTK and post here the result.
Thanks again,
--Sergey
Reply
Re: HTK comple error.
User: aaa
Date: 11/6/2008 9:18 am
Views: 23
Rating: 5    Rate [
]

I became the same error, too.

Therefor, is was settled as follow.

# linux32 bash

↑ 32 bit termainal

#./configure --prefix=/home/yourname/htk

#make all

#make install

 

ok!

Reply
PreviousNextAdd