Entropy initialization crash

Hello,

Trying to run Mbed TLS sample cert_req on my WLS linux . It contains entropy initialization line:

mbedtls_entropy_init( &entropy );

Conde crashed on this line with segmentation fault. Why and how to fix that?