[PROJ] Building PROJ with SQLite3 in archive

Greg Troxel gdt at lexort.com
Wed Jul 24 05:59:54 PDT 2024


Nathan Sizemore via PROJ <proj at lists.osgeo.org> writes:

> ~/dev/tmp$ nm -u proj/lib/libproj.a | grep sqlite
>                  U _Z21pj_clear_sqlite_cachev
>                  U sqlite3_vsnprintf
>                  U sqlite3_bind_blob
>                  U sqlite3_bind_int64
>                  U sqlite3_bind_null
>                  U sqlite3_bind_text
>                  U sqlite3_close
> ... and so on
>
> Am I missing anything or is sqlite forced as a shared dep?

Normally, people statically link libraries into executables.  You should
instead be looking at bin/proj, with ldd and "objdump -x".

I think what you are missing that what you want to do is unusual, and
not what is normally meant by 'build static'.


More information about the PROJ mailing list