Jiri Daněk created PROTON-2341:
----------------------------------

             Summary: Cannot build Dispatch using the Debian PPA Proton packages
                 Key: PROTON-2341
                 URL: https://issues.apache.org/jira/browse/PROTON-2341
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c, release
    Affects Versions: proton-c-0.33.0
         Environment: Ubuntu Focal
            Reporter: Jiri Daněk
            Assignee: Irina Boverman


I am installing Proton from PPA

{noformat}
$ sudo add-apt-repository ppa:qpid/testing && sudo apt-get update
$ sudo apt install -y libqpid-proton-proactor1-dev python3-qpid-proton
{noformat}

I run Dispatch compilation, but I get error

{noformat}
-- 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")
{noformat}

(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.)

{noformat}
[...]
[ 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.
{noformat}

To workaround this, I have to do

{noformat}
sudo ln -s /usr/lib/x86_64-linux-gnu/libqpid-proton-core.so.10 
/usr/lib/x86_64-linux-gnu/libqpid-proton-core.so
{noformat}

and then the build succeeds.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to