[Slackbuilds-users] Build Errors: qgis-2.10.1

David Spencer baildon.research at googlemail.com
Sat Sep 19 15:31:41 UTC 2015

>   Dependencies -- at least for the 2.4.0 version -- are installed as that
> was built using the SlackBuilds script. If prerequisite libraries needed
> updating, sbopkg would have picked them up.
>   The last few errors and the results:
> CMakeFiles/qgis_gui.dir/moc_qgscodeeditorsql.cxx.o:(.data.rel.ro._ZTV16QgsCodeEditorSQL[_ZTV16QgsCodeEditorSQL]+0xf8):
> undefined reference to `QsciScintilla::findFirst(QString const&, bool, bool,
> bool, bool, bool, int, int, bool, bool)'
> CMakeFiles/qgis_gui.dir/moc_qgscodeeditorsql.cxx.o:(.data.rel.ro._ZTV16QgsCodeEditorSQL[_ZTV16QgsCodeEditorSQL]+0x154):
> undefined reference to `QsciScintilla::replaceSelectedText(QString const&)'
> CMakeFiles/qgis_gui.dir/moc_qgscodeeditorsql.cxx.o:(.data.rel.ro._ZTV16QgsCodeEditorSQL[_ZTV16QgsCodeEditorSQL]+0x17c):
> undefined reference to
> `QsciScintilla::setAutoCompletionUseSingle(QsciScintilla::AutoCompletionUseSingle)'
> collect2: error: ld returned 1 exit status
> make[2]: *** [output/lib/libqgis_gui.so.2.10.1] Error 1
> make[2]: Leaving directory /tmp/SBo/qgis-2.10.1'
> make[1]: *** [src/gui/CMakeFiles/qgis_gui.dir/all] Error 2
> make[1]: Leaving directory /tmp/SBo/qgis-2.10.1'
> make: *** [all] Error 2

Are you running -current?
If so, *please* say so up front.

The QScintilla package in -current was updated on 14th August.
Anything you built before then that uses QScintilla will have linked
the old QScintilla, and will need to be rebuilt.
sbopkg won't show this, indeed to the best of my knowledge, none of
the various package building tools will show this.
That's life with -current.

The error message is a fairly clear indication that this is your
problem, so rebuild all qgis's deps.
But I could be wrong.

More information about the SlackBuilds-users mailing list