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

Stephen Woodbridge woodbri at swoodbridge.com
Fri Jun 16 07:04:11 PDT 2017


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



More information about the mapserver-users mailing list