You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Joel Bricker (JIRA)" <ji...@apache.org> on 2011/06/20 21:14:47 UTC

[jira] [Commented] (QPID-3126) Make install fails with "/usr/bin/ld: cannot find -lqmfengine" error

    [ https://issues.apache.org/jira/browse/QPID-3126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052168#comment-13052168 ] 

Joel Bricker commented on QPID-3126:
------------------------------------

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.

> Make install fails with "/usr/bin/ld: cannot find -lqmfengine" error
> --------------------------------------------------------------------
>
>                 Key: QPID-3126
>                 URL: https://issues.apache.org/jira/browse/QPID-3126
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.8
>         Environment: Linux  2.6.32-28-server #55-Ubuntu SMP Mon Jan 10 23:57:16 UTC 2011 x86_64 GNU/Linux
>            Reporter: RafaƂ Dowgird
>              Labels: build
>         Attachments: out.txt
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org