[mapserver-users] Upgraded to Xenial and mapserver does not work

Stephen Woodbridge woodbri at swoodbridge.com
Fri Jun 16 08:17:55 PDT 2017


Solved it. Had a ancient /etc/ld.so.conf.d/libc.conf messing things up. 
Removed it and things are working.

Sorry for the noise.

-Steve W

On 6/16/2017 10:04 AM, Stephen Woodbridge wrote:
> Hi all,
> 
> I just upgraded my system from trusty to xenial and mapserver does not 
> work:
> 
> $ /usr/bin/mapserv -v
> /usr/bin/mapserv: error while loading shared libraries: libproj.so.0: 
> cannot open shared object file: No such file or directory
> 
> $ apt-show-versions | grep mapserv
> cgi-mapserver:amd64/xenial 7.0.4-1~xenial5 uptodate
> libmapserver2:amd64/xenial 7.0.4-1~xenial5 uptodate
> mapserver-bin:amd64/xenial 7.0.4-1~xenial5 uptodate
> 
> $ apt-show-versions | grep proj
> libproj-dev:amd64/xenial 4.9.2-2 uptodate
> libproj9:amd64/xenial 4.9.2-2 uptodate
> proj-bin:amd64/xenial 4.9.2-2 uptodate
> proj-data:all/xenial 4.9.2-2 uptodate
> 
> $ ldd /usr/bin/mapserv | grep "not found"
>          libproj.so.0 => not found
>          libgif.so.4 => not found
> 
> $ ls /usr/lib/x86_64-linux-gnu/libproj.*
> /usr/lib/x86_64-linux-gnu/libproj.a
> /usr/lib/x86_64-linux-gnu/libproj.la
> /usr/lib/x86_64-linux-gnu/libproj.so
> /usr/lib/x86_64-linux-gnu/libproj.so.9
> /usr/lib/x86_64-linux-gnu/libproj.so.9.1.0
> 
> Any ideas on how to fix this?
> 
> I added ubuntugis-unstable ppa after I found this issue, and uninstalled 
> and then installed the packages but that did not fix it.
> 
> -Steve W
> 
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list