Download ta-lib-0.4.0-src.tar.gz and:
$ untar and cd $ ./configure --prefix=/usr
wget 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' -O config.guess
wget 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' -O config.sub
$ make $ sudo make install