The relevant error seems to be
amqp_openssl.c:547:22: error: ‘TLS1_3_VERSION’ undeclared (first use i +n this function) *tls_version = TLS1_3_VERSION;
So, what version is your libssl? Most likely you need to find a newer/older version of libssl to match whatever amqp expects, or patch amqp to work with the different version your CentOS provides.
Also note that your Perl version is really old and unsupported by now.
In reply to Re: Can't build Net::AMQP::RabbitMQ
by Corion
in thread Can't build Net::AMQP::RabbitMQ
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |