The old OpenSSL seems to have a problem when built using a newer system. I got this problem when compiling OpenSSL 1.1.0f on my Ubuntu 22.04. For example in my case here the problem is in line 17 on Configure file and the line were like this: Some people tried changing the lines with qw/glob/ […]
By default, QEMU does not enable the plugins. So you need to enable it on configure step by using –enable-plugins.