You may need to download and install the jpeg-6b library (a link is available here, under "Requirements"). I guess the jpegsrc file is the one you're after.
Then again, your Linux distribution ought t already have a copy somewhere on it, and depending on which brand of Linux you've got, there may well be some sort of package management utility that will install it for you.