AW: [Qgis-user] Compile problem?

Möri Cedric Cedric.Moeri at bd.so.ch
Thu Aug 5 05:37:28 PDT 2010


Hi all

I'm still messing with my libqgispython.so that is not found. I built now a debug version to have a look at the application settings. I also went back in the revisions to see where the problems starts. Up to r13925 the installation works and begining with r13926 my build is broken. 
The application settings in the debug console shows for r13925 the correct prefixPath: /usr/local/foo

In r13926 the prefix path is empty (and so the lib isn't found, of course). I did some extra debug messages and it looks just that the prefix path in the constructor of QgsApplication is set, but if it is called from QgisApp::loadPythonSupport, QgsApplication::prefixPath() returns an empty string.

The changeset r13926 is about trunk/qgis/CMakeLists.txt and just changes the minor version number and the release name. 

Has anyone an idea what is happenig? Is there some kind of cache in cmake (I did a configure/generate in ccmake already)? Or is the build process getting some old stuff (libs or headers, but which ones to consider)? 

Thanks in advance for any hint.
Best regards
Cédric


----- Originalnachricht -----
Von: "Möri Cedric" <Cedric.Moeri at bd.so.ch>
Gesendet: Mit, 4.8.2010 12:19
An: qgis-user at lists.osgeo.org
Betreff: [Qgis-user] Compile problem?

Hi all

I just compiled r14004 on RedHat-Linux. Everything seems to go fine, but when I now start the new qgis, it says

Warning: Couldn't load Python support library: Cannot load library /lib/qgispython: (/lib/libqgispython.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden)
(the german reads: Cannot open shared object file: File or directory not found)

I'm using a CMAKE_INSTALL_PREFIX which points to /usr/local/foo

In fact /lib/libqgispython.so doesn't exist, but with the prefix I'm expecting the so-file in /usr/local/foo/lib. And that's where I found libqgispython.so which links to libqgispython.so.1.6.0 in the same directory.

I did also a make clean, but the same result.
Has anybody a hint for me, what I'm missing? Do I have some misconfiguration in my ccmake or what else could be wrong?

Regards
Cédric


mit freundlichen Grüssen

Cédric Möri
GIS-Informatiker

--
Kanton Solothurn
Bau- und Justizdepartement
Amt für Geoinformation
Rötistrasse 4
4501 Solothurn

Telefon: +41 (0)32 627 24 75
Telefax: +41 (0)32 627 22 14
mailto:cedric.moeri at bd.so.ch
http://www.agi.so.ch
_______________________________________________
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