[mapserver-users] ./mapserv: error loading shared libraries:

Alberto Najera anajera at bicimapas.com.mx
Thu Mar 22 18:37:08 EDT 2012


Thank you. That worked very well and mapserver has been compiled.

Alberto Najera
www.bicimapas.com.mx
Plaza Bonita
Avenida Lomas Verdes No. 58, Local 17
Colonia Santa Cruz Acatlán
Naucalpan, Estado de México
México CP 53150
Tel: (55) 53 60 30 65
anajera at bicimapas.com.mx
 
 

-----Mensaje original-----
De: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] En nombre de Stephen
Woodbridge
Enviado el: jueves, 22 de marzo de 2012 03:25 p.m.
Para: mapserver-users at lists.osgeo.org
Asunto: Re: [mapserver-users] ./mapserv: error loading shared libraries:

OK, then  you probably need to add /usr/local/lib to you /etc/ld.so.conf and
run ldconfig after doing that.

-SteveW

On 3/22/2012 3:29 PM, Alberto Najera wrote:
> Hi
>
> ls -l /usr/lib/libjpeg*  reports this after running ldconfig:
>
> ls: cannot access /usr/lib/libjpeg*: No such file or directory
>
> but we installed libjpeg in /usr/local/lib  and not in /usr/lib
>
> and ls -l /usr/local/lib/libjpeg*
>
> reports all the jpeg installed files.
>
> Thanks
>
> Alberto Najera
>
> -----Mensaje original-----
> De: mapserver-users-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] En nombre de Stephen 
> Woodbridge Enviado el: jueves, 22 de marzo de 2012 12:07 p.m.
> Para: mapserver-users at lists.osgeo.org
> Asunto: Re: [mapserver-users] ./mapserv: error loading shared libraries:
>
> 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
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list