First, step 1. Code hosting download code latest: https://github.com/alanxz/rabbitmq-c/archive/master.zip Stability: https://github.com/alanxz/rabbitmq-c/ releases/download/v0.5.2/rabbitmq-c-0.5.2.tar.gz download to/home/kylin/test/2, unzip to/home/kylin/test/, and enter the directorycd/home/kylin/test/rabbitmq-c-...3, there is bulid directory first deleted, and then in the rabbitmq-c/directorymkdir build && CD Build4. After entering the build directoryCMake .5.cmake--build.After the installation succeeds, compile the build library, and the installation successfully performs the following steps 6,/home/kylin/test/rabbitmq-c-.. /Bulid/executed under the Make7, in/home/kylin/test/rabbitmq-c-master/build/librabbitmq/can be found in the corresponding static library and dynamic library, (if not in the Bulid directory makes clean)8, installation is: in/home/kylin/test/rabbitmq-c-.. Execute under/bulid/, make installsecond, the matters needing attention1, if the CMake is not installed, then follow the instructions or Baidu installation method. Under Ubuntu issudo apt-get install cmake2. If "CMake" is executed. The Times SSL did not find a related error because SSL was not installed on this computer. Self-Baidu SSL installation method.If you do not need to enable the SSL (secure connection) feature, open the Home directory(/home/kylin/test/rabbitmq-c-... ), locate CMakeLists.txt, open and find Enable_ssl_support, and change the "on" after "on" to "Off" (option (enable_ssl_support "ENABLE SSL support" off), Then delete all files under the build directory (be sure to delete) and start again from step 4.
Linux RABBITMQ compilation, generate dynamic libraries and static libraries