<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Microsoft YaHei";
        panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
        {font-family:"Noto Mono for Powerline";
        panose-1:2 11 6 9 3 8 4 2 2 4;}
@font-face
        {font-family:"Source Code Pro for Powerline";
        panose-1:2 11 5 9 3 4 3 2 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@Microsoft YaHei";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.code, li.code, div.code
        {mso-style-name:code;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        background:#E7E6E6;
        font-size:9.0pt;
        font-family:Consolas;
        color:black;}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:"Noto Mono for Powerline";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Noto Mono for Powerline"">Hello,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Noto Mono for Powerline""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Noto Mono for Powerline"">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. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Noto Mono for Powerline"">This confuse me, could anyone provide any suggestions? Why it's so big?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Noto Mono for Powerline""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Noto Mono for Powerline"">============ GDAL lib (build from source code. Latest version) =====<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Source Code Pro for Powerline";color:#FF6E67">6c1839b1e7a9<span style="background:yellow;mso-highlight:yellow">:/usr/local/lib</span> #</span><span style="font-size:10.0pt;font-family:"Source Code Pro for Powerline"">
 ls -alh |grep gdal<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Source Code Pro for Powerline"">drwxr-xr-x 2 root root 4.0K Apr  1 08:37 gdalplugins<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Source Code Pro for Powerline"">-rw-r--r-- 1 root root
<span style="background:yellow;mso-highlight:yellow">193M Apr  1 08:37 libgdal.a</span><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Source Code Pro for Powerline"">-rwxr-xr-x 1 root root 1.1K Apr  1 08:37 libgdal.la<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Source Code Pro for Powerline"">lrwxrwxrwx 1 root root   17 Apr  1 08:37 libgdal.so -> libgdal.so.20.5.0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Source Code Pro for Powerline"">lrwxrwxrwx 1 root root   17 Apr  1 08:37 libgdal.so.20 -> libgdal.so.20.5.0<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Source Code Pro for Powerline"">-rwxr-xr-x 1 root root
<span style="background:yellow;mso-highlight:yellow">121M Apr  1 08:37 libgdal.so.20.5.0</span><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Source Code Pro for Powerline";color:#FF6E67">6c1839b1e7a9:/usr/local/lib #<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Noto Mono for Powerline""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Noto Mono for Powerline"">============ GDAL lib (installed via RH rpm) =================<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Source Code Pro for Powerline"">bash-4.2# ls -alh |grep gdal<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Source Code Pro for Powerline"">drwxr-xr-x  2 root root 4.0K Jan 28  2018 gdalplugins<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Source Code Pro for Powerline"">lrwxrwxrwx  1 root root   17 Apr  2 01:02 libgdal.so.1 -> libgdal.so.1.18.4<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Source Code Pro for Powerline"">-rwxr-xr-x  1 root root 
<span style="background:yellow;mso-highlight:yellow">13M Jan 28  2018 libgdal.so.1.18.4</span><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Source Code Pro for Powerline"">bash-4.2# pwd<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Source Code Pro for Powerline";background:yellow;mso-highlight:yellow">/usr/lib64</span><span style="font-size:10.0pt;font-family:"Source Code Pro for Powerline""><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Source Code Pro for Powerline"">bash-4.2#<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Noto Mono for Powerline""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Noto Mono for Powerline""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Noto Mono for Powerline"">BRs,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Noto Mono for Powerline"">Fan Liu<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Noto Mono for Powerline""><o:p> </o:p></span></p>
</div>
</body>
</html>