Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
proton-c-0.33.0
-
None
-
Ubuntu Focal
Description
I am installing Proton from PPA
$ sudo add-apt-repository ppa:qpid/testing && sudo apt-get update $ sudo apt install -y libqpid-proton-proactor1-dev python3-qpid-proton
I run Dispatch compilation, but I get error
-- Found Proton: optimized;/usr/lib/x86_64-linux-gnu/libqpid-proton.so;debug;/usr/lib/x86_64-linux-gnu/libqpid-proton.so (found version "0.33.0")
(notice that the .so mentioned in this cmake output does not actually exist in the package, there it is named with extra .10 at the end.)
[...] [ 81%] Building C object src/CMakeFiles/qpid-dispatch.dir/http-libwebsockets.c.o [ 83%] Building C object src/CMakeFiles/qpid-dispatch.dir/adaptors/http2/http2_adaptor.c.o make[3]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libqpid-proton-core.so', needed by 'src/libqpid-dispatch.so'. Stop. make[2]: *** [CMakeFiles/Makefile2:1072: src/CMakeFiles/qpid-dispatch.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:1296: docs/CMakeFiles/docs.dir/rule] Error 2 make: *** [Makefile:662: docs] Error 2 Error: Process completed with exit code 2.
To workaround this, I have to do
sudo ln -s /usr/lib/x86_64-linux-gnu/libqpid-proton-core.so.10 /usr/lib/x86_64-linux-gnu/libqpid-proton-core.so
and then the build succeeds.