I want to make shared objects libmbedcrypto.so libmbedtls.so and libmbedx509.so
I run the commands:
cmake -DUSE_SHARED_MBEDTLS_LIBRARY=On -DUSE_STATIC_MBEDTLS_LIBRARY=Off -DENABLE_TESTING=Off .
And … I get static libraries libmbedcrypto.a, libmbedtls.a and libmbedx509.a.
Any ideas how to get shared objects?
I have run the same commands you did, and got shared objects:
mbedtls$ find -name libmbedx509.so
mbedtls$ find -name libmbedcrypto.so
mbedtls$ find -name libmbedtls.so
What is the Mbed TLS version you are using?
Mbed TLS Support
Thank you for your information.
I have downloaded the apache version from here and ran the same command, and I got shared objects:
mbedtls-2.16.2$ find -name *.so
I suggest you check your cmake environment