[QGIS-trac] Re: [Quantum GIS] #1548: Python gui.so links to wrong
QGIS libs when more than one version of QGIS is installed
Quantum GIS
qgis at qgis.org
Wed Feb 18 17:28:52 EST 2009
#1548: Python gui.so links to wrong QGIS libs when more than one version of QGIS
is installed
--------------------------------------------------------------+-------------
Reporter: timlinux | Owner: wonder
Type: bug | Status: new
Priority: critical: causes crash or data corruption | Milestone: Version 1.1.0
Component: Build/Install | Version: HEAD
Resolution: | Keywords: python libraries version
Platform_version: Ubuntu Linux 8.10 x86_64 | Platform: Linux
Must_fix: Yes | Status_info: 0
--------------------------------------------------------------+-------------
Comment (by jef):
Does the following patch help?
{{{
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt (revision 10172)
+++ CMakeLists.txt (working copy)
@@ -319,6 +319,7 @@
INSTALL(FILES ${CMAKE_BINARY_DIR}/qgsconfig.h DESTINATION
${QGIS_INCLUDE_DIR})
INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR})
+LINK_LIBRARIES(${CMAKE_BINARY_DIR}/src/core ${CMAKE_BINARY_DIR}/src/gui)
#############################################################
# create qgssvnversion.h
}}}
I applied this to both Version_1.0 and trunk and your problem doesn't
occur, but I didn't try to reproduce the problem without it.
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1548#comment:3>
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