coolreader
coolreader copied to clipboard
Need `libintl_gettext` on musl libc
The musl libc doesn't have the libintl_gettext symbol builtin, I think you should manually link -lintl or find gettext, I'm not sure.
/home/user/ereader-buildroot/output/host/lib/gcc/arm-buildroot-linux-musleabihf/4.9.4/../../../../arm-buildroot-linux-musleabihf/bin/ld: ../crengine/libcrengine.a(cri18n.cpp.o): undefined reference to sym
bol 'libintl_gettext'
/home/user/ereader-buildroot/output/host/lib/gcc/arm-buildroot-linux-musleabihf/4.9.4/../../../../arm-buildroot-linux-musleabihf/bin/ld: /home/user/ereader-buildroot/output/host/arm-buildroot-linux-muslea
bihf/sysroot/usr/lib/libintl.so.8: error adding symbols: DSO missing from command line
The musl libc doesn't have the libintl_gettext symbol builtin
Are you implying there's a libc that does?
I'm not sure, just know that it's not an issue with glibc. My assumpton is that glibc builds gettext into the C library.
libintl.h seems to be a part of glibc, and indeed there's some kind of gettext implementation included. Interesting.