Qpid
  1. Qpid
  2. QPID-3606

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

        Activity

        Hide
        Gordon Sim added a comment -

        +1 for inclusion in 0.14

        Show
        Gordon Sim added a comment - +1 for inclusion in 0.14
        Hide
        Justin Ross added a comment -

        Reviewed and approved for 0.14.

        Show
        Justin Ross added a comment - Reviewed and approved for 0.14.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development