ive been installing mapserver umn on my server, all has gone well except for the actual mapserv install.

sudo ./configure --with-proj --with-gdal --with-ogr


sudo make

to test I do ./mapserv

and it returns the error

./mapserv: error while loading shared libraries: libjpeg.so.7: cannot open shared object file: No such file or directory

I added --with-jpeg and/or --with-libjpeg both with route to file

any ideas? im stuck! im a moderate noob, but i got the apache server working without any help this time!

Thank you