Home > OS >  Install the rabbitmq - c compiler appear the following error
Install the rabbitmq - c compiler appear the following error

Time:09-17

Make all - am
Make [1] : enter the directory "/var/WWW/tarBao/rabbitmq - c - 0.8.0"
CCLD examples/amqp_bind
Librabbitmq/libs/librabbitmq. So: undefined reference to ` OPENSSL_sk_pop_free '
Librabbitmq/libs/librabbitmq. So: undefined reference to ` OPENSSL_sk_value '
Librabbitmq/libs/librabbitmq. So: undefined reference to ` OPENSSL_sk_num '
Librabbitmq/libs/librabbitmq. So: undefined reference to ` OPENSSL_init_ssl '
Librabbitmq/libs/librabbitmq. So: undefined reference to ` TLS_client_method '
Librabbitmq/libs/librabbitmq. So: undefined reference to ` SSL_CTX_set_options'
Librabbitmq/libs/librabbitmq. So: undefined reference to ` SSL_CTX_clear_options'
Collect2: error: ld returned 1 exit status
Make [1] : * * * examples/amqp_bind error 1
Make [1] : leave the directory "/var/WWW/tarBao/rabbitmq - c - 0.8.0"
Make: * * * [all] error 2

CodePudding user response:

Check openss if installed, install openssl devel -
Not particularly need the source code to compile, use yum to install

CodePudding user response:

Has been solved, thank you for your answer

CodePudding user response:

Could you tell me exactly how to solve?

CodePudding user response:

My side openssl version later versions and openssl devel recompiling the same: 1.0.1 e, but the rabbitmq extension installation or appear the same error with you

CodePudding user response:

In the end vi/etc/profile add
Export CPPFLAGS='-i/usr/local/openssl/include/openssl'


https://blog.csdn.net/zhaijunliang2009/article/details/88356663
  • Related