qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: Unknown protocol: tcp
Date Tue, 01 Feb 2011 17:51:19 GMT
On 02/01/2011 04:53 PM, Grzegorz Swiatek wrote:
> Hi,
>
> I want to start my simple C++ program (see below) that tries to open a
> connection and get following output:
> open connection
> Unknown protocol: tcp (qpid/client/Connector.cpp:52)
>
> I used static libraries with following link settings:
> -static -lqpidclient -static -lqpidcommon -lm -lrt -ldl -luuid -lpthread
> -lboost_filesystem -lboost_program_options
>
> My environment is:
> - CentOS 5.5 /x86_64
> - gcc/g++ 4.1.2
> - qpid 0.8
>
> What is wrong here?

My guess would be that the static linking is the issue. The protocol 
registration relies on static initialisers at present and the static 
linking may result in the wrong order of execution.

Are you able to link dynamically to verify that theory?

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


Mime
View raw message