Linux RABBITMQ compilation, generate dynamic libraries and static libraries

Source: Internet
Author: User
Tags rabbitmq

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.