Opened 15 years ago
Closed 15 years ago
#1663 closed bug (invalid)
QGIS uses wrong GRASS library.
Reported by: | cgsbob | Owned by: | nobody |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | |
Component: | Build/Install | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | Debian |
Platform Version: | Awaiting user input: | no |
Description
I'm trying to get qgis to work with grass 6.5 (I also have grass 7.0), but qgis crashes with an "Incompatible library version for module" fatal error. I compiled qgis with the correct prefix (GRASS_PREFIX=/usr/local/grass-6.5.svn ), but ldd tells me that qgis is picking up the 7.0.svn.so version of grass.
I also want to report that grass 6.5 and grass70 works well and I'm using the gdal-grass plugin which is configured for grass 6.5.
Change History (5)
follow-up: 2 comment:1 by , 15 years ago
comment:2 by , 15 years ago
Replying to jef:
setup LD_LIBRARY_PATH to point to the correct grass library path (probably /usr/local/grass-6.5.svn/lib in your case).
I put both /usr/local/grass-6.5.svn/lib and /usr/local/grass-7.0.svn/lib in LD_LIBRARY_PATH. I reversed those two paths and now qgis starts without crashing. So it seems that qgis loads the first grass library...even if the library is not under the GRASS_PREFIX directory?
comment:3 by , 15 years ago
Component: | GRASS → Build/Install |
---|
comment:4 by , 15 years ago
Is this still valid? Seems more of a local problem. Please report additional info, to make sure it is a general issue.
comment:5 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Closing it in absence of user feedback. Please reopen it if appropriate
setup LD_LIBRARY_PATH to point to the correct grass library path (probably /usr/local/grass-6.5.svn/lib in your case).