[Qgis-user] Qgis failed to startup

Richard Duivenvoorde rdmailings at duif.net
Tue Jun 14 00:32:25 PDT 2016


On 14-06-16 09:23, christoph wrote:
> Hi, Richard,
> yes I did all what you described,
> but still no clue why I get the error!
> All that is in my home directory.

I sometimes use 'strace' to see what happens when something stops.

So: try to build with debug info, that is use: -DCMAKE_BUILD_TYPE=Debug
or set it to Debug in ccmake..

export de LD_LIBRARY_PATH (as in your script)
And then
strace <path to qgis>
Maybe the segfault on the end reveals more info.

And if that fails, install gdb, and learn how to show stacktrace with
that....
In short:
gdb qgis
(gdb) run
then after crash call backtrace:
(gdb) bt

Hope this helps

Richard



More information about the Qgis-user mailing list