You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rafał Dowgird (JIRA)" <ji...@apache.org> on 2011/03/08 11:21:59 UTC

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

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


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


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

Posted by "Rafał Dowgird (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rafał Dowgird updated QPID-3126:
--------------------------------

    Attachment: out.txt

Output of 'make install'

> 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


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

Posted by "Joel Bricker (JIRA)" <ji...@apache.org>.
    [ 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