Qpid
  1. Qpid
  2. QPID-3126

Make install fails with "/usr/bin/ld: cannot find -lqmfengine" error

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.8
    • Fix Version/s: None
    • Component/s: C++ Broker
    • Labels:
    • Environment:

      Linux 2.6.32-28-server #55-Ubuntu SMP Mon Jan 10 23:57:16 UTC 2011 x86_64 GNU/Linux

      Description

      When 'make install' is run, the build fails with "/usr/bin/ld: cannot find -lqmfengine"

      It is possible to work around that by running libtool manually in /cpp/src, with the list of libraries rearranged:

      ../libtool --mode=install /usr/bin/install -c libqpidtypes.la libqpidcommon.la libqpidbroker.la libqpidclient.la libqmfengine.la libqpidmessaging.la libqmf.la libqmf2.la libqmfconsole.la '/usr/local/lib'

      Note that libqmfengine.la was moved before libqpidmessaging.la, compared to what make tries to run.

      1. out.txt
        39 kB
        Rafał Dowgird

        Activity

        Hide
        Rafał Dowgird added a comment -

        Output of 'make install'

        Show
        Rafał Dowgird added a comment - Output of 'make install'
        Hide
        Joel Bricker added a comment -

        If you swap the following two lines in cpp/src/qmf.mk:

        libqmf.la \
        libqmfengine.la \

        You can install normally from source, without have to run libtool yourself. This worked for me, at least.

        Show
        Joel Bricker added a comment - If you swap the following two lines in cpp/src/qmf.mk: libqmf.la \ libqmfengine.la \ You can install normally from source, without have to run libtool yourself. This worked for me, at least.

          People

          • Assignee:
            Unassigned
            Reporter:
            Rafał Dowgird
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development