Uploaded image for project: 'ActiveMQ C++ Client'
  1. ActiveMQ C++ Client
  2. AMQCPP-334

pkg-config output incorrect

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.2.1
    • 3.2.3, 3.3.0
    • CMS Impl
    • None

    Description

      The activemq-cpp.pc.in file specifies the installed library linking as "l@ACTIVEMQ_LIBRARY_NAME@@ACTIVEMQ_API_VERSION@" which results in (for example) -lactivemq-cpp-3.2.1, but the actual library files generated in src/main/.libs are:

      $ ls src/main/.libs/
      libactivemq-cpp.a libactivemq-cpp.la libactivemq-cpp.lai libactivemq-cpp.so libactivemq-cpp.so.11 libactivemq-cpp.so.11.1.0
      $

      As a result, pkg-config requests a link against a non-existent library. This should be fixed so that the generated version and the indicated link version match.

      This can be patched post-install, but it's messy.

      Attachments

        1. AMQCPP-309.patch
          0.7 kB
          Kevin Quick

        Activity

          People

            tabish Timothy A. Bish
            kquick Kevin Quick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: