Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3606

Qpid.pc pkgconfig file isn't sufficient to compile programs using qpid API

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.14, 0.15
    • Fix Version/s: 0.14, 0.15
    • Component/s: C++ Client
    • Labels:
      None

      Description

      The pkg-config file currently supplied with qpid only has -lqpidmessing in its LDFLAGS and omits -lqpidtypes.

      This used to work in many Linux versions because libqpidmessaging has a dependency on libqpidtypes itself so the library is pulled in. However newer versions of ld require that the link line is complete for the applications direct needs and won't use transitive needs to fulfil needed symbols.

      The fix is simply to add -lqpidtypes as well

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              astitcher Andrew Stitcher
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: