First thing run:

sudo ldconfig

and see if that fixes things.

What does  this report:

ls -l /usr/lib/libjpeg*

-SteveW

On 3/22/2012 1:13 PM, Alberto Najera wrote:
I am installing Mapserver in a Centos 5 distribution. All the
installation process seems to be done correctly, but after
running“make”in Mapserver and testing with ./mapserv we are getting this
error message:

./mapserv: error loading shared libraries: libjpeg.so.8: cannot open
shared object file: no such file or directory

We have installed jpeg-8d to the default directories /usr/local/lib/
using the ./configure --disable-staticto make sure all the libraries are
shared.

Also, we are using gdal-1.9.0 and it is configured to use the external
jpeg-8d library.

I cannot understand why we are getting this error message. Furthermore,
I really do not need to use JPEG as I plan to use PNG images for
rendering our vector data.I have attempted to configure Mapserver
without JPEG by several means including not calling for it,
usingwithout-jpegand--disable-jpegand nevertheless, configure always
shows that JPEG support will be used.

Can you provide some help on how to fix this?I have been dealing with
this issue for over 10 days and cannot find a solution

Alberto Najera



_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to