Hello,
I had the following errors while compiling jasper and worked out how to fix it.
Code
I had already done in jpeg-6c:
sudo make install
but also had to add
sudo make install-lib
I don't know why the first install did not also install the libraries.