relocation error: symbol SSL_trace version OPENSSL_1_1_0 not defined in file with link time reference

I compiled and using openssl1.1.1d using command ./config -d enable-ssl-trace. when i use and and run my the apps. it show me this relocation error. i checked and found SSL_trace is it OPENSSL_1_1_0 global feature. May I know how can I make it defined in file