Github user Heromyth commented on the issue:
https://github.com/apache/thrift/pull/1380
I found one reason why the `make check` failed.
The command line used by DMD (Failed):
`dmd -g -ofunittest/debug/thrift/server/transport/ssl -unittest -w -wi
-I../../lib/d/src src/thrift/server/transport/ssl.d libthriftd-event.a
libthriftd-ssl.a libthriftd.a -L-levent -L-lcrypto -L-lssl unittest/emptymain.d
`
The underlying command line generated by DMD (Failed):
`cc unittest/debug/thrift/server/transport/ssl.o -o
unittest/debug/thrift/server/transport/ssl -g -m64` **-levent -lcrypto -lssl**
` -L/usr/lib/x86_64-linux-gnu -Xlinker --export-dynamic libthriftd-event.a
libthriftd-ssl.a libthriftd.a -Xlinker -Bstatic -lphobos2 -Xlinker -Bdynamic
-lpthread -lm -lrt -ldl`
The correct command line reorderd by me (Succeeded):
`cc unittest/debug/thrift/server/transport/ssl.o -o
unittest/debug/thrift/server/transport/ssl -g -m64 -L/usr/lib/x86_64-linux-gnu
-Xlinker --export-dynamic libthriftd-event.a libthriftd-ssl.a libthriftd.a
-Xlinker -Bstatic -lphobos2 -Xlinker -Bdynamic `**-levent -lcrypto -lssl**
`-lpthread -lm -lrt -ldl`
I have no idea how to fix this by far.
---