Note that there are some explanatory texts on larger screens.

plurals
  1. POCygwin gdal library load error
    text
    copied!<p>I built spatialite library then gdal library with spatialite support. Also built mapserver which depends on gdal with success. There was no problem with linking. </p> <p>When I try to execute a gdal utility I get:</p> <pre><code>$ ogrinfo.exe /usr/local/bin/ogrinfo.exe: error while loading shared libraries: cyggdal-1.dll: cannot open shared object file: No such file or directory </code></pre> <p>But everything seems fine:</p> <pre><code>$ ldd /usr/local/bin/ogrinfo.exe ntdll.dll =&gt; /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c900000) kernel32.dll =&gt; /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c800000) cyggdal-1.dll =&gt; /usr/local/bin/cyggdal-1.dll (0x710c0000) cygcurl-4.dll =&gt; /usr/bin/cygcurl-4.dll (0x63d80000) cyggcc_s-1.dll =&gt; /usr/bin/cyggcc_s-1.dll (0x67f00000) cygwin1.dll =&gt; /usr/bin/cygwin1.dll (0x61000000) ADVAPI32.DLL =&gt; /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL (0x77dd0000) RPCRT4.dll =&gt; /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e70000) Secur32.dll =&gt; /cygdrive/c/WINDOWS/system32/Secur32.dll (0x77fe0000) cygcrypto-0.9.8.dll =&gt; /usr/bin/cygcrypto-0.9.8.dll (0x6ba40000) cygidn-11.dll =&gt; /usr/bin/cygidn-11.dll (0x6c200000) cygiconv-2.dll =&gt; /usr/bin/cygiconv-2.dll (0x674c0000) cygintl-8.dll =&gt; /usr/bin/cygintl-8.dll (0x6f5c0000) cygssh2-1.dll =&gt; /usr/bin/cygssh2-1.dll (0x69ec0000) cygz.dll =&gt; /usr/bin/cygz.dll (0x692c0000) cygssl-0.9.8.dll =&gt; /usr/bin/cygssl-0.9.8.dll (0x63400000) cygexpat-1.dll =&gt; /usr/bin/cygexpat-1.dll (0x66ec0000) cyggeos_c-1.dll =&gt; /usr/bin/cyggeos_c-1.dll (0x70180000) cyggeos-3-1-1.dll =&gt; /usr/bin/cyggeos-3-1-1.dll (0x4e0000) cygjpeg-7.dll =&gt; /usr/bin/cygjpeg-7.dll (0x66e00000) cygpng12.dll =&gt; /usr/bin/cygpng12.dll (0x6f200000) </code></pre> <p>If I copy the cyggdal-1.dll to the current folder:</p> <pre><code>$ ogrinfo.exe /usr/local/bin/ogrinfo.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory </code></pre> <p>So what is a '?' library?</p> <pre><code>$ ldd cyggdal-1.dll ntdll.dll =&gt; /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c900000) kernel32.dll =&gt; /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c800000) ??? =&gt; ??? (0x710c0000) ??? =&gt; ??? (0x63d80000) ??? =&gt; ??? (0x67f00000) ??? =&gt; ??? (0x61000000) ??? =&gt; ??? (0x77dd0000) ??? =&gt; ??? (0x77e70000) ??? =&gt; ??? (0x77fe0000) ??? =&gt; ??? (0x6ba40000) ??? =&gt; ??? (0x6c200000) ??? =&gt; ??? (0x674c0000) ??? =&gt; ??? (0x6f5c0000) ??? =&gt; ??? (0x69ec0000) ??? =&gt; ??? (0x692c0000) ??? =&gt; ??? (0x63400000) ??? =&gt; ??? (0x66ec0000) ??? =&gt; ??? (0x70180000) ??? =&gt; ??? (0x4b0000) ??? =&gt; ??? (0x66e00000) ??? =&gt; ??? (0x6f200000) </code></pre> <p>What are these "???" ? How to solve this problem?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload