Cannot run apps with protobuf 2.6 on Ubuntu 17.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mir (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have a Qt 5 application which has a dependency on protobuf 2.6.
Having upgraded to Ubuntu 17.10 I am no longer able to run it.
> [libprotobuf FATAL google/
> version 3.0.0 of the Protocol Buffer runtime library, but the installed version
> is 2.6.1.
>
> Please update your library.
>
> If you compiled the program yourself, make sure that your headers are from the
> same version of Protocol Buffers as your link-time library.
>
> (Version verification failed in "/build/
> obj-x86_
When building my app, I am linking against the static version of protobuf, `libprotobuf.a`.
However, by default, protobuf 3 is installed:
libmirproto
libprotobuf
libprotobuf
libprotobuf
A back trace shows the exception originates from `/usr/lib/
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/
#1 0x00007f56f74e5f5d in __GI_abort () at abort.c:90
#2 0x00007f56f7e8c095 in __gnu_cxx:
#3 0x00007f56f7e89c86 in ?? () from /usr/lib/
#4 0x00007f56f7e89cd1 in std::terminate() () from /usr/lib/
#5 0x00007f56f7e89f14 in __cxa_throw () from /usr/lib/
#6 0x000055c570b362c7 in google:
#7 0x000055c570b36658 in google:
#8 google:
#9 0x00007f56e73dd2bb in mir::protobuf:
#10 0x00007f56e73d0109 in ?? () from /usr/lib/
#11 0x00007f56f9cd9a6a in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@
#12 0x00007f56f9cd9b7b in call_init (env=0x7ffe60c1
#13 _dl_init (main_map=
#14 0x00007f56f9cdeb86 in dl_open_worker (a=a@entry=
#15 0x00007f56f7605d64 in __GI__dl_
at dl-error-
#16 0x00007f56f9cde0d9 in _dl_open (file=0x55c5724
#17 0x00007f56f5f29ff6 in dlopen_doit (a=a@entry=
#18 0x00007f56f7605d64 in __GI__dl_
at dl-error-
#19 0x00007f56f5f2a759 in _dlerror_run (operate=
#20 0x00007f56f5f2a092 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87
#21 0x00007f56f840571c in ?? () from /usr/lib/
#22 0x00007f56f83feb45 in ?? () from /usr/lib/
#23 0x00007f56f83ef068 in QFactoryLoader:
#24 0x00007f56f89b4c23 in QPlatformThemeF
#25 0x00007f56f89c2448 in QGuiApplication
#26 0x00007f56f89c2e3d in QGuiApplication
#27 0x00007f56f8410b85 in QCoreApplicatio
#28 0x00007f56f89c48cf in QGuiApplication
#29 0x00007f56f9189289 in QApplicationPri
tags: | added: artful |