I don't have time for a full reply, but it looks like you didn't build qpid 1.39 with the qpid-proton library.
The Proton library is what handles AMQP 1.0 so qpid needs to be able to find it when it is built. When built with Proton, qpid will create the modules for amqp 1.0 and you should be able to get them to load (if you do a default install everything should be a place where that automatically happens) HTH Andrew On Fri, 2022-02-18 at 16:28 +0000, Rob Wiskow wrote: > I'm attempting to write a small program using AMQP via the Qpid > Messaging C++ API. I downloaded and built the 1.39.0 library, and > got my program to compile. > I'm specifying the "{protocol:amqp1.0}" connection option. However > when I try to run the program, I get an exception: > terminate called after throwing an instance of > 'qpid::messaging::MessagingException' > what(): Unsupported protocol: amqp1.0 (valid values are amqp0-10) > > After a lot of searching, all I've found is one old thread, which > talks about setting QPID_LOAD_MODULE to "amqpc.so", which is a file > that doesn't seem to exist. > https://lists.apache.org/thread/t5c2dxb22ftwy57dhjyr5jwtym0q7kob > If I try to set that environment variable to libqpid-proton-cpp.so, > which I built from the Qpid Proton 0.36.0 library, it errors out > claiming it can't load the file: > terminate called after throwing an instance of 'qpid::Exception' > what(): /.../qpid-proton- > 0.36.0/build/install_dir/usr/local/lib64/libqpid-proton- > cpp.so.12.10.0.so: cannot open shared object file: No such file or > directory: /.../qpid-proton- > 0.36.0/build/install_dir/usr/local/lib64/libqpid-proton- > cpp.so.12.10.0.so (/.../qpid-cpp- > 1.39.0/src/qpid/sys/posix/Shlib.cpp:35) > If I set it to any other .so, it just goes back to complaining about > the unsupported protocol. > > Can anyone give me some help in this? > Thanks, > Rob. > This e-mail message (together with any attached documents) is > strictly confidential and intended solely for the addressee > (including the addressee's employing organization, assigns and > affiliates). It may contain information that is proprietary to Geneva > Trading USA LLC, its affiliates and assigns. It is controlled by law, > or is covered by legal, professional or other privilege. If you are > not the intended addressee nor associated with the intended > addressee's organization, you must not use, disclose or copy this > transmission, and are asked to notify the sender of its receipt. > Please be further advised that the unauthorized interception or > retrieval of e-mail may be a criminal violation of the Electronic > Communications Privacy Act. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org