At the end, we don't use an ubuntu 18.04 deb package.
We use, apt install libz-dev libssl-dev libpcre2-dev libevent-dev build-essential.
We clone a github repository, and use install.sh
This creates an executable with the correct libraries.
And the agent works fine.