[Qgis-developer] gusty update problem

mccue at acm.caltech.edu mccue at acm.caltech.edu
Sun Jan 6 01:03:53 EST 2008

  An installation problem (leaving behind old version of qgis)

Version of ubuntu


Make certain we are uptodate on qgis

  % sudo apt-get install qgis qgis-plugin-grass
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  qgis is already the newest version.
  qgis-plugin-grass is already the newest version.
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Run qgis

  % qgis
  qgis:   error  while  loading  shared  libraries:   libgdal1.3.2.so.1:
  cannot open shared object file:  No such file or directory

Check out libgdal

  % apt-cache search libgdal
  libgdal-doc - Documentation for the Geospatial Data Abstraction Library
  libgdal1-1.4.0 - Geospatial Data Abstraction Library
  libgdal1-1.4.0-grass - GRASS extension for the Geospatial Data Abstraction Lib
  libgdal1-dev - Geospatial Data Abstraction Library - Development files

Check out qgis location

  % whereis qgis
  qgis:       /usr/bin/qgis       /usr/lib/qgis      /usr/local/bin/qgis
  /usr/local/lib/qgis /usr/include/qgis /usr/share/qgis

Likely culprits

  % lws /usr/local/bin/qgis
  -rwxr-xr-x 1 root root 3173399 2007-09-17 14:54 /usr/local/bin/qgis
  % lw /usr/bin/qgis
  -rwxr-xr-x 1 root root 2688160 2007-12-21 05:23 /usr/bin/qgis

Check $PATH order

  echo $PATH

Test out /usr/bin/qgis

  /usr/bin/qgis  --help
  Quantum GIS - 0.9.1-Ganymede 'Ganymede' (unknown), plus more stuff

Analysis:   qgis in  /usr/local/bin executed  first  and  is old (9.0)
version, which doesn't run under gusty but did under feisty,  as 1.3.2
was the  version of libgdall used  for it.  I'm not  enough of a linux
geek  to  know  whether  my  upgrade to gusty from feisty  wasn't done
correctly, or whether the  qgis  install is supposed to remove the old
version.   If the latter, it should be fixed.  If the former, I should
know more about linux.

Ken McCue

More information about the Qgis-developer mailing list