drogon icon indicating copy to clipboard operation
drogon copied to clipboard

undefined reference to `getentropy'

Open itlabers opened this issue 1 year ago • 0 comments

Notice

Describe the bug

  1. run "cmake build" in vscode
    2 report error " Utilities.cc:1192 undefined reference to `getentropy'"

Screenshots Screenshot

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 avatar Aug 10 '22 02:08 itlabers

@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?

an-tao avatar Aug 12 '22 11:08 an-tao

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

itlabers avatar Aug 23 '22 02:08 itlabers