Create kong RPM for running a .so file

I need to know how to install and implement Kong Modules (such as Datadog opentracing) so they operate properly.

This is required as a result of attempting to implement the datadog tracing module, and finding a " nginx: [emerg] module “/usr/lib/modules/” is not binary compatible" error, alluding to a compilation issue.

It may be necessary to compile kong/nginx and these modules together into their own installation RPM to allow the modules to run properly.

So how can I use this repo “” for this purpose?