drogon
drogon copied to clipboard
undefined reference to `getentropy'
Notice
Describe the bug
- run "cmake build" in vscode
2 report error " Utilities.cc:1192 undefined reference to `getentropy'"
Screenshots
Desktop (please complete the following information): environment: os : centos 7.0 glibc : 2.29 drogon :1.7.5
I think it's the lack of references in the glibc version like this
#include <unistd.h>
@itlabers Thanks for your feedback, but I can't reproduce this issue in my enverionment. Could you try to fix this yourself and make a PR for it?
ldd --version glibc version:2.29
ll /lib64/libc.so.6 glibc version:2.17
The actual version is 2.17 ,The method getentropy is missing