Skolson5903
06/28/2025, 12:03 AMld.lld: error: undefined symbol: fcntl64
I think fcntl was renamed to fcntl64 in glibc 2.28, and I'm afraid this is newer than the native konan stack is handling. I tried this line in the .def:
linkerOpts.linux = --allow-shlib-undefined -L/usr/lib/x86_64-linux-gnu -licui18n -licuuc -licudata -lz -llzma -lpthread
hoping that the --allow option would tell the linker to ignore the missing symbol, but no help. Libxml2 required all those other libs. Has anyone seen this issue with the fcntl64 undefined symbol and have a fix/workaround?Skolson5903
06/28/2025, 12:10 AMSkolson5903
06/28/2025, 12:19 AMSkolson5903
06/28/2025, 2:02 PMlinkerOpts.linux = --allow-shlib-undefined --dy -L/usr/lib/x86_64-linux-gnu -lxml2 -licui18n -licuuc -licudata -lz -llzma -lpthread