[mapserver-users] Mapserver - libs in /usr/local/lib disappear after reboot

Ian Walberg ian.walberg at airborne.aero
Wed Jan 4 13:31:46 PST 2017


Jeff,

Thanks for the info and you were correct, they had not disappeared.

Karma - oops, my apologies.

Regards

Ian

-----Original Message-----
From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Jeff McKenna
Sent: Wednesday, January 4, 2017 11:32 AM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Mapserver - libs in /usr/local/lib disappear after reboot

I haven't seen the libs-physically-disappear case, but I often reboot client servers and the libs 'cannot be found' (meaning executing mapserv doesn't search for the libs in the proper directory of /usr/local/lib/). 
  In this case the solution is to set the LD_LIBRARY_PATH to that directory for your profile (this step changes for different linux
flavors) and then re-run 'sudo ldconfig'.

As a side note, for good karma please refrain from sending your questions to multiple mailing lists at the same time.  Thanks,

-jeff



--
Jeff McKenna
MapServer Consulting and Training Services http://www.gatewaygeomatics.com/




On 2017-01-04 2:36 PM, Ian Walberg wrote:
> Folks,
>
> We build and install from source any of the recent versions using cmake.
>
> Then we copy the mapserv binary from /usr/local/bin to /var/www/cgi-bin to use with our apache install.
>
> All is good unless we reboot and the libs in /usr/local/lib are removed, this is a Fedora 19 server.
>
> Anyone know why this happens? What have we done wrong?
>
> Thanks
>
> Ian
>




_______________________________________________
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