I'm trying to install a customised openresty on a Centos7 VM.
sudo rpm -i openresty-1.19.3.1-1.el7.x86_64.rpm
However I get this error:
perl(Test::Nginx::Socket::Lua) is needed by openresty-1.19.3.1-1.el7.x86_64
perl(Test::Nginx::Socket::Lua::Stream) is needed by openresty-1.19.3.1-1.el7.x86_64
But I already had those dependencies installed with cpan, and when I try to install them again, I get:
Test::Nginx is up to date (0.29).
Text::Nginx includes the socket::lua subclasses.
I'm not sure what is going on there. It seems that the rpm isn't picking up the existence of those dependencies. I did a restart, refresh ..etc, but no change.