[Qgis-user] symbol lookup error: /usr/lib/libqgisgrass.so.1.2.0: undefined symbol: G_no_gisinit

Goyo goyodiaz at gmail.com
Sat Aug 29 03:06:24 PDT 2009


OK my segfault was due to a backported version of python-qt4
(4.5.2-0ubuntu1~ppa1 from [1]). Not related to this.

Packages in ubuntugis-unstable[2] are working for me, even after with
libgdal1-1.6.0-grass installed. Packages in
qgis-unstable-ubuntugis-jef[3] cause the symbol lookup error, even if
they have the same version number.

[1] https://launchpad.net/~bdrung/+archive/backports
[2] https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable
[3]
https://launchpad.net/~jef-norbit/+archive/qgis-unstable-ubuntugis-jef

Goyo

El sáb, 29-08-2009 a las 09:54 +0200, Goyo escribió:
> El vie, 28-08-2009 a las 18:45 +0200, Agustin Lobo escribió:
> > Are you using qgis 1.2.01 on ubuntu jaunty? Are you using the grass plugin?
> 
> Mmmm... I don't know what happened but now I get a segfault when I
> launch qgis (1.2.0-1~jaunty1). It worked a few days ago in Jaunty 64
> bits, after uninstall - deactivate repos - install.
> 
> > If yes, could you check if you have libgdal1-1.5.0-grass and/or 
> > libgdal1-1.6.0-grass ?
> 
> These packages were installed with qgis:
> 
> libgdal1-1.5.0 (1.5.2-3ubuntu1)
> libgdal1-1.5.0-grass (1.5.2-1)
> libgdal1-1.6.0 (1.6.1-1~jaunty2)
> 
> Also I have this available but not installed:
> 
> libgdal1-1.6.0-grass (1.6.0-2)
> 
> It seems weird to me that both 1.5 and 1.6 versions of libgdal are
> required.
> 
> As I said I only have activated the ubuntugis-unstable repo and things
> are broken now. I will try others if I find the time.
> 
> > I think that the problem is there because:
> > 
> > 1. If I install qgis 1.2.01 having the
> > 
> > http://ppa.launchpad.net/qgis/unstable/ubuntu
> > as the repository (and not http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu)
> > 
> > I get the same problem as stated in my previous message.
> > 
> > I've realized that the grass plugin installs
> > libgdal1-1.5.0-grass
> > despite the fact that I do have
> > libgdal1-1.6.0-grass
> > 
> > 2. If I uninstal the grass plugin but keep both libgdal1-1.*, I can 
> > start qgis
> > but get the following messages in the console:
> > 
> > ~$ qgis
> > ERROR 1: libgrass_I.so: cannot open shared object file: No such file or 
> > directory
> > ERROR 1: libgrass_I.so: cannot open shared object file: No such file or 
> > directory
> > Python support ENABLED :-)
> > Loaded : fTools (package: fTools)
> > ERROR 1: libgrass_I.so: cannot open shared object file: No such file or 
> > directory
> > ERROR 1: libgrass_I.so: cannot open shared object file: No such file or 
> > directory
> > /usr/lib/python2.6/dist-packages/osgeo/gdal.py:81: DeprecationWarning: 
> > gdal.py was placed in a namespace, it is now available as osgeo.gdal
> >   DeprecationWarning)
> > etc
> > 
> > 3. If I remove libgdal1-1.5.0-grass, qgis starts up and I just get the 
> > following in the console:
> > /usr/lib/python2.6/dist-packages/osgeo/gdal.py:81: DeprecationWarning: 
> > gdal.py was placed in a namespace, it is now available as osgeo.gdal
> >   DeprecationWarning)
> > 
> > The problem is that I do need the grass plugin now. I suspect that 
> > removing libgdal1-1.6.0-grass
> > would let me install the grass plugin with no problems, but I'm using 
> > libgdal1-1.6.0-grass for
> > ecw support...
> > 
> > Agus
> > 
> > Goyo wrote:
> > > I had the same problem and then I realized that I had activated a bunch
> > > of repositories with QGis and GRASS packages. So I uninstalled QGis,
> > > deactivated all that repos but Ubuntugis, apt-get update and installed
> > > again. That fixed the issue.
> > >
> > > Goyo
> > >
> > > El vie, 28-08-2009 a las 12:39 +0200, Agustin Lobo escribió:
> > >   
> > >> Hi!
> > >>
> > >> After upgrading to qgis 1.2.01~jaunty, qgis does not start.
> > >> If I run qgis from a terminal, I get:
> > >> /usr/bin/qgis.bin: symbol lookup error: /usr/lib/libqgisgrass.so.1.2.0: 
> > >> undefined symbol: G_no_gisinit
> > >>
> > >> I've tried
> > >> ~$ sudo apt-get install libqgis
> > >> Reading package lists... Done
> > >> Building dependency tree      
> > >> Reading state information... Done
> > >> E: Couldn't find package libqgis
> > >>
> > >> I've reinstalled libqgis1.2.0_1.2.0-1~jaunty1_i386.deb 
> > >> <https://launchpad.net/%7Eubuntugis/+archive/ubuntugis-unstable/+files/libqgis1.2.0_1.2.0-1%7Ejaunty1_i386.deb>
> > >> from
> > >> https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable
> > >>
> > >> but still have the same problem
> > >>
> > >> Is this a problem with the package or am I doing something wrong?
> > >> Thanks for any advice
> > >>
> > >> Agus
> > >> _______________________________________________
> > >> Qgis-user mailing list
> > >> Qgis-user at lists.osgeo.org
> > >> http://lists.osgeo.org/mailman/listinfo/qgis-user
> > >>     
> > >
> > > _______________________________________________
> > > Qgis-user mailing list
> > > Qgis-user at lists.osgeo.org
> > > http://lists.osgeo.org/mailman/listinfo/qgis-user
> > >
> > >   
> > 




More information about the Qgis-user mailing list