Hello,

I have a question related with lib size. When I install PostGIS via rpm on 
redhat, it GDAL lib size is 13MB. But when I compile PostGIS and GDAL from 
source code on SUSE, the lib is 121MB.
This confuse me, could anyone provide any suggestions? Why it's so big?

============ GDAL lib (build from source code. Latest version) =====
6c1839b1e7a9:/usr/local/lib # ls -alh |grep gdal
drwxr-xr-x 2 root root 4.0K Apr  1 08:37 gdalplugins
-rw-r--r-- 1 root root 193M Apr  1 08:37 libgdal.a
-rwxr-xr-x 1 root root 1.1K Apr  1 08:37 libgdal.la
lrwxrwxrwx 1 root root   17 Apr  1 08:37 libgdal.so -> libgdal.so.20.5.0
lrwxrwxrwx 1 root root   17 Apr  1 08:37 libgdal.so.20 -> libgdal.so.20.5.0
-rwxr-xr-x 1 root root 121M Apr  1 08:37 libgdal.so.20.5.0
6c1839b1e7a9:/usr/local/lib #

============ GDAL lib (installed via RH rpm) =================
bash-4.2# ls -alh |grep gdal
drwxr-xr-x  2 root root 4.0K Jan 28  2018 gdalplugins
lrwxrwxrwx  1 root root   17 Apr  2 01:02 libgdal.so.1 -> libgdal.so.1.18.4
-rwxr-xr-x  1 root root  13M Jan 28  2018 libgdal.so.1.18.4
bash-4.2# pwd
/usr/lib64
bash-4.2#


BRs,
Fan Liu

_______________________________________________
postgis-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/postgis-users

Reply via email to