Error while installing extension in a compiled LO

I have compiled LibreOffice from the source because I needed to customize some options. The customized version works fine but I’m getting an error when I try to install an extension.

This is the error message:

How can I install this extension?

When you “customize some options”, you are creating something that only you can support. You are welcome to debug the problem; when stuck, please join #libreoffice-dev and ask development-related questions there to help your debugging; if you find a problem you are welcome to file bugs and create patches.

The problem is, I can install the extension under Ubuntu 18 but fails at Debian-10. Can you make a guess about what the problem might be?