[QGIS-Developer] Compiling QGIS3 on Ubuntu problems

Alessandro Pasotti apasotti at gmail.com
Fri May 4 23:38:19 PDT 2018


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




On Fri, May 4, 2018 at 10:47 PM, Paulo van Breugel <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 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>:
>
>>
>> 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
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180505/5ee3aba4/attachment.html>


More information about the QGIS-Developer mailing list