[QGIS-Developer] Compiling QGIS3 on Ubuntu problems

Paulo van Breugel p.vanbreugel at gmail.com
Sat May 5 13:55:41 PDT 2018



On 05-05-18 08:38, Alessandro Pasotti wrote:
>
> This looks like Qt4 and not Qt5:
>
> #3  0x00007fae50101b3f in QReadWriteLock::QReadWriteLock() () at 
> /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> #4  0x00007fae4fe659ac in  () at /usr/lib/x86_64-linux-gnu/libQtDBus.so.4
> #5  0x00007fae4fe65e75 in 
> QDBusMetaType::registerMarshallOperators(int, void (*)(QDBusArgument&, 
> void const*), void (*)(QDBusArgument const&, void*)) () at 
> /usr/lib/x86_64-linux-gnu/libQtDBus.so.4
>
>
That was it (lrelease from qt4-linguist-tools instead of 
qttools5-dev-tools). Got QGIS running, thanks! Few other problems

>
>
> On Fri, May 4, 2018 at 10:47 PM, Paulo van Breugel 
> <p.vanbreugel at gmail.com <mailto:p.vanbreugel at gmail.com>> wrote:
>
>     Hi Etienne
>
>     Thanks for the reply. I does (I should have seen that). However,
>     next, I am getting (with ptrace_scope set to 0):
>
>     QGIS died on signal 11[New LWP 26618]
>     [New LWP 26619]
>     [New LWP 26620]
>     [New LWP 26621]
>     [Thread debugging using libthread_db enabled]
>     Using host libthread_db library
>     "/lib/x86_64-linux-gnu/libthread_db.so.1".
>     0x00007fae644126c2 in __GI___waitpid (pid=26622,
>     stat_loc=0x7ffcb53cd7e4, options=0) at
>     ../sysdeps/unix/sysv/linux/waitpid.c:30
>     30    ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
>     [Current thread is 1 (Thread 0x7fae687ec3c0 (LWP 26617))]
>     #0  0x00007fae644126c2 in __GI___waitpid (pid=26622,
>     stat_loc=0x7ffcb53cd7e4, options=0) at
>     ../sysdeps/unix/sysv/linux/waitpid.c:30
>             resultvar = 18446744073709551104
>             sc_cancel_oldtype = 0
>     #1  0x000056377281a8ec in qgisCrash(int) ()
>     #2  0x00007fae6436cf20 in <signal handler called> () at
>     /lib/x86_64-linux-gnu/libc.so.6
>     #3  0x00007fae50101b3f in QReadWriteLock::QReadWriteLock() () at
>     /usr/lib/x86_64-linux-gnu/libQtCore.so.4
>     #4  0x00007fae4fe659ac in  () at
>     /usr/lib/x86_64-linux-gnu/libQtDBus.so.4
>     #5  0x00007fae4fe65e75 in
>     QDBusMetaType::registerMarshallOperators(int, void
>     (*)(QDBusArgument&, void const*), void (*)(QDBusArgument const&,
>     void*)) () at /usr/lib/x86_64-linux-gnu/libQtDBus.so.4
>     #6  0x00007fae2b7abeb6 in  () at
>     /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so
>     #7  0x00007fae654f3ff0 in
>     QPlatformInputContextFactory::create(QString const&) () at
>     /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
>     #8  0x00007fae3d96aa60 in QXcbIntegration::initialize() () at
>     /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
>     #9  0x00007fae6550b449 in
>     QGuiApplicationPrivate::eventDispatcherReady() () at
>     /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
>     #10 0x00007fae64f56575 in QCoreApplicationPrivate::init() () at
>     /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
>     #11 0x00007fae6550ceaf in QGuiApplicationPrivate::init() () at
>     /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
>     #12 0x00007fae65cd2649 in QApplicationPrivate::init() () at
>     /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
>     #13 0x00007fae66a319c0 in QgsApplication::QgsApplication(int&,
>     char**, bool, QString const&, QString const&) () at
>     /usr/local/qgis/lib/libqgis_core.so.3.0.2
>     #14 0x000056377281d99a in main ()
>     gdb returned 0
>     Aborted (core dumped)
>
>     This seems something totally different. Any idea what the problem
>     could be, and how to solve this?
>
>     Best wishes,
>
>     Paulo
>
>
>
>
>
>     On 04-05-18 21:15, Etienne Trimaille wrote:
>>     Have a look on https://github.com/qgis/QGIS/blob/master/INSTALL
>>     <https://github.com/qgis/QGIS/blob/master/INSTALL> and search
>>     "error while loading shared libraries". Does it help?
>>
>>     2018-05-04 15:11 GMT-04:00 Paulo van Breugel
>>     <p.vanbreugel at gmail.com <mailto:p.vanbreugel at gmail.com>>:
>>
>>
>>         Dear devs,
>>
>>
>>         I am trying to compile QGIS3 (release_3-0) on a freshly
>>         install Ubuntu
>>         18.04 (bionic). All seems to go well, no error messages during
>>         configuration or running make and make install.
>>
>>         When trying to run QGIS, however, I am getting the following
>>         error:
>>
>>         ./qgis: error while loading shared libraries:
>>         libqgis_app.so.3.0.2:
>>         cannot open shared object file: No such file or directory
>>
>>         Any idea what went wrong here, and how to solve this?
>>
>>         Best wishes,
>>
>>         Paulo
>>
>>
>>
>>
>>         _______________________________________________
>>         QGIS-Developer mailing list
>>         QGIS-Developer at lists.osgeo.org
>>         <mailto:QGIS-Developer at lists.osgeo.org>
>>         List info:
>>         https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>         <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>         Unsubscribe:
>>         https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>         <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>
>>
>
>
>     _______________________________________________
>     QGIS-Developer mailing list
>     QGIS-Developer at lists.osgeo.org <mailto:QGIS-Developer at lists.osgeo.org>
>     List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>     <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>     Unsubscribe:
>     https://lists.osgeo.org/mailman/listinfo/qgis-developer
>     <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>
>
>
>
> -- 
> Alessandro Pasotti
> w3: www.itopen.it <http://www.itopen.it>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180505/b071c8f8/attachment.html>


More information about the QGIS-Developer mailing list