Bug report #1594

QGIS does not start due to GRASS libraries

Added by jachym - over 15 years ago. Updated over 15 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:Build/Install
Affected QGIS version: Regression?:No
Operating System:Debian Easy fix?:No
Pull Request or Patch supplied: Resolution:invalid
Crashes QGIS or corrupts data: Copied to github as #:11654

Description

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.

History

#1 Updated by marisn - over 15 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

If You compile anything against GRASS 6.4 or newer it will NOT run with pre-6.4 GRASS libs. Remove pre-6.4 GRASS from LD_LIBRARY_PATH OR remove GRASS 6.3.x completely from Your system.

Closing as it's not a QGIS bug.

Also available in: Atom PDF