Problem installing libjpeg ..

I'm trying to develop an iPhone app that requires JPEG image manipulation and I need to install libjpeg library. I followed the instructions on this link (Jpeglib libray - NoskeWiki) but I receive the following error when I try to install it:

./libtool --mode=compile gcc -O2 -I. -c ./jcapimin.c
make: ./libtool: No such file or directory
make: *** [jcapimin.lo] Error 1

Anyone knows how to solve this problem?
FYI: I run OS X 10.8.2

Original thread: https://forums.imore.com/threads/problem-installing-libjpeg.243511/