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

pkg-config output incorrect

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment