Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2341

Cannot build Dispatch using the Debian PPA Proton packages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-c-0.33.0
    • proton-c-0.34.0
    • proton-c, release
    • 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.

      Attachments

        Activity

          People

            kpvdr Kim van der Riet
            jdanek Jiri Daněk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: