Linking problems

I have this weird problem when trying to link my game. Everything compiles just
fine, but this is what I get when it tries to link:

SurfaceFactory.o: In function SurfaceFactory::LoadImage(char *, int)': SurfaceFactory.o(.text+0xf0): undefined reference toIMG_Load_RW(SDL_RWops *,int)’

I’m using SDL 1.0 and imglib from 0.10.
This was never a problem when compiling under 0.10, and what really makes me
scratch my head is that the example program “show” (in the imglib package) does
link fine. This of course gives me an idea that I am doing something completely
wrong. Anybody who knows a cure for this?–
BLiP!