I want to check the license inside a shared library. Is it possible?
For now, there are issues regarding the position independent code property.
It can be fixed in cmake by setting CMAKE_POSITION_INDEPENDENT_CODE to ON.
However, you are still linking (at least on linux) with other static libraries such as libcrypto.a which as the same issue:
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libcrypto.a(bio_lib.o): relocation R_X86_64_PC32 against symbole `BIO_set' can not be used when making a shared object; recompilez avec -fPIC
What do you think about this? Limiting the usage of your project to executables or static libraries is a important limit for me.
I can try to help you on this if you want to support this usage.
Edit: It seems you need to remove the flag OPENSSL_USE_STATIC_LIBS or set it to OFF to work on shared context. Both in open-license-manager and in lcc-license-generator.