[gdal-dev] libgdal.so.36 refers to sqlite library with full path
Fengting Chen
fengting.chen at oracle.com
Wed May 14 13:58:10 PDT 2025
Hi, I am trying to build GDAL 3.10.3 with sqlite 3.49.2. The build was successful on linux. But there are two entries of reference to sqlite3, and one of it has the absolution path.
> ldd libgdal.so.36 | grep sqlite
ldd: warning: you do not have execution permission for `./libgdal.so.36'
/scratch/gdal_dir/SDK/sqlite/3.49.2/dist/lib/libsqlite3.so (0x00007f7e08168000)
libsqlite3.so => / scratch/gdal_dir/SDK/sqlite/3.49.2/dist/lib/libsqlite3.so (0x00007f7dfb00e000)
Why is above listing having a full path of libsqlite3.so built in the libgdal.so.36?
The configuration for the cmake for GDAL is:
set (SQLite3_INCLUDE_DIR "$(SQLITE3_DIST_DIR)/ include" CACHE PATH "" FORCE)
set (SQLite3_LIBRARY "$(SQLITE3_DIST_DIR)/lib/ $(LIBSQLITE3)" CACHE PATH "" FORCE)
At the sqlite lib directory, it has:
libsqlite3.a libsqlite3.so.0@ pkgconfig/
libsqlite3.so@ libsqlite3.so.3.49.2*
Is this sqlite3 build issue or GDAL build issue?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250514/41950190/attachment.htm>
More information about the gdal-dev
mailing list