You are not logged in.
Pages: 1
a blank project ,if it uses mormot.core.base, mormot.core.os units,
cross compile it with windows lazarus , it works on windows target .
but can NOT work on Linux 64 Target , error info :
/lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./project)
/lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./project)
if just uses the mormot.core.base, then it works fine.
there is topic about this https://forum.lazarus.freepascal.org/in … ic=58888.0
maybe the problem comes from mormot.core.os
laz ver :2.3.0 fpc ver:3.3.1 target os : x64 centos 7.9
Last edited by keinn (2023-02-10 06:12:20)
Offline
This is not a mormot.core.os problem, this is a linking issue.
Change the cross-compiler libc with another one, which fits your target system.
I use mormot.core.os on Linux on a daily basic since years.
My primary system is a Debian, and deployed mORMot servers on several Linux production servers. CentOS is tricky about its libc version for sure.
Offline
Pages: 1