[gdal-dev] Antwort: Re: Build static GDAL-Lib and static GDAL-Apps

Michael Otto michael.otto at data-experts.de
Tue Feb 20 04:50:04 PST 2024


Thanks to all who have responded.

I have now tried it with 'vcpkg install gdal[tools]'. The tools/apps are 
there, but they are not statically linked!

See for example gdalinfo:

root at vmuser-VirtualBox:/home/vmuser/Git/vcpkg/installed/x64-linux/tools/gdal# 
ldd gdalinfo
        linux-vdso.so.1 (0x00007ffcc0fb3000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe3a31ae000)
        libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 
(0x00007fe3a2f82000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe3a2d59000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fe3a6b09000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x00007fe3a2d39000)

Michael


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240220/36ef14a3/attachment.htm>


More information about the gdal-dev mailing list