Problem with SDL_image and make

Hello. I seem to be experiencing a problem when trying to make SDL_image.
I have already configured it, but when I go to run the makefile it stops
saying that the GNU linker ld cannot find ljpeg. I have libjpeg on my
machine, and I have edited the ld.so.conf file to point directly at it, but
this has not seemed to help at all. Is there something specific that I
should do, or another library that someone knows of that is useful for this
problem? Anyone else had this issue?

Thank you

Justin Hamilton wrote:

Hello. I seem to be experiencing a problem when trying to make
SDL_image. I have already configured it, but when I go to run the
makefile it stops saying that the GNU linker ld cannot find ljpeg. I
have libjpeg on my machine, and I have edited the ld.so.conf file to
point directly at it, but this has not seemed to help at all. Is there
something specific that I should do, or another library that someone
knows of that is useful for this problem? Anyone else had this issue?

You are probably missing ljpeg-dev

Colin–
Colin Tuckley | @Colin_Tuckley | PGP/GnuPG Key Id
+44(0)1903 236872 | +44(0)7799 143369 | 0x1B3045CE

I try to keep an open mind, but not so open that my brains fall out.

Hello !

Hello. I seem to be experiencing a problem when trying to make
SDL_image.
I have already configured it, but when I go to run the makefile it stops
saying that the GNU linker ld cannot find ljpeg. I have libjpeg on my
machine, and I have edited the ld.so.conf file to point directly at it,
but this has not seemed to help at all. Is there something specific that
I
should do, or another library that someone knows of that is useful for
this problem? Anyone else had this issue?

When developing with libpng, libjpeg …
you need to have also the -devel packages installed.

So libpng-devel libjpeg-devel …

CU

Hmm, thank you for help with the libraries, I finally got SDL_image
installed. I added the path to these libraries in my ld.so.conf file, but
when I try to compile a file with IMG_Load in it, it tells me that there is
an undefined reference to it. I have just been using the sdl-config --cflags --libs which has been fine in the past. Is there something extra
that I have to do to link to the appropriate place? Thank you again.