On Tuesday 28 Dec 2004 13:28, Anders Johansson wrote:
On Tuesday 28 December 2004 14:19, Keith Powell wrote:
I have been trying to install a .tar.gz program.
Part way through "make", it stops with an error message:
<<<< large amount of make snipped >>>>
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld : cannot find -ljpeg
<snip>
I assume that I am a library missing, but have no idea which.
There is no -ljpeg on the system and Google does not give an answer.
You need the package libjpeg-devel
In general, when a compiler uses -lsomething what you're looking for is a file called libsomething.a to get the compile to go through, and libsomething.so to get the program to run afterwards
Thanks Anders and Dan. That was the problem. I needed libjpeg-devel installed. It's working now. Thanks also, Anders, for the explanation of compiler messages and libraries. I'll write it down, or else I will only forget it! Cheers Keith