denosaurs/plug

detect libc version

andykais opened this issue · 0 comments

Could we add a mechanism to detect the libc version and pick a shared lib accordingly? This is coming from a real use case to support sqlite shared lib binaries for both alpine linux and arch linux. One of which uses musl libc. You can find similar detection code in the official java sqlite library https://github.com/xerial/sqlite-jdbc/blob/3.39.3.0/src/main/java/org/sqlite/util/OSInfo.java#L117