[QGIS-trac] [Quantum GIS] #1594: QGIS does not start due to GRASS libraries

Quantum GIS qgis at qgis.org
Wed Mar 25 07:37:40 EDT 2009


#1594: QGIS does not start due to GRASS libraries
---------------------------------------------------------+------------------
   Reporter:  jachym                                     |              Owner:  nobody     
       Type:  bug                                        |             Status:  new        
   Priority:  critical: causes crash or data corruption  |          Milestone:             
  Component:  Build/Install                              |            Version:  HEAD       
   Keywords:  grass package ubuntu                       |   Platform_version:  Ubuntu 8.10
   Platform:  Debian                                     |           Must_fix:  No         
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 hi,
 while starting QGIS, I get:
 {{{
 /usr/bin/qgis.bin: symbol lookup error: /usr/lib/libqgisgrass.so.1.1:
 undefined symbol:
 G__no_gisinit
 }}}
 I used QGIS 1.1.0x version:
 {{{
 svn co https://svn.osgeo.org/qgis/trunk/qgis qgis_unstable
 }}}
 compiled for Ubuntu 8.10 using
 {{{
 dpkg-buildpackage -rfakeroot
 }}}
 and installed via
 {{{
 dpkg -i *.deb
 }}}

 I have GRASS 6.4-preview version AND grass 6.3, compiled and installed via
 debian configuration files.
 {{{
 dpkg -l|grep grass
 ii  grass                                      6.3.0-lesejk3
 ii  grass-preview                              6.4~20081031-1
 }}}

 So, there are
  * /usr/lib/grass/lib
  * /usr/lib/grass64/lib

 directories in my system.

 In /usr/bin/qgis, there is something like
 {{{
 export LD_LIBRARY_PATH=/usr/lib/grass/lib:/usr/lib/grass64/lib
 /usr/bin/qgis.bin
 }}}

 If I run
 {{{
 export LD_LIBRARY_PATH=/usr/lib/grass64/lib
 /usr/bin/qgis.bin
 }}}

 everything works like desired.

 SO, my question would be, if I did something wrong while packaging
 qgis/grass or if it is an bug of qgis startup script.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1594>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list