[openamq-dev] Help on shared Object

Martin Lucina mato at imatix.com
Fri Sep 14 17:24:14 CEST 2007


Malinga, Dmitri,

dmitri.tsyganov at dowjones.com said:
> Note: If you are on 64 bit platform (as I am), you may have to build
> OpenAMQ libs and your library with -fPIC flag. 
> To do that, please define 
> 	CCDEFINES = -fPIC
> 	CFLAGS = -fPIC
> before building OpenAMQ. Make sure you are on version 1.2c4

You should be using -fPIC on all platforms, otherwise you will run into
issues with global/static variables in the libraries which will cause
the WireAPI to hang.

Regards,

-mato


More information about the openamq-dev mailing list