<div dir="ltr">Hi Sam,<div><br></div><div>I don't know how to resolve the issue. There may be some clues in the conda-forge GDAL tracker: <a href="https://github.com/conda-forge/gdal-feedstock/issues">https://github.com/conda-forge/gdal-feedstock/issues</a> and it would be worth making a new issue there if it isn't a known and fixed bug. The conda-forge team is quick to patch and update their packages.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 31, 2018 at 4:50 AM, Sam Franklin <span dir="ltr"><<a href="mailto:mr.samfranklin@gmail.com" target="_blank">mr.samfranklin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hey List. Sorry to disturb. I came across this symbol error when trying to use several gdal binaries within a conda environment on the Windows 10 Subsystem for Linux. Looks like possible linking error which I can't seem to resolve.</div><div><br></div><div>

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">### The error</span><br></div><div><br></div><div>$ gdalinfo</div><div>gdalinfo: symbol lookup error: /<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">home/sam/anaconda2</span>/envs/py36/<wbr>bin/../lib/libgdal.so.20: undefined symbol: _ZN11xercesc_3_<wbr>211InputSource11setEncodingEPK<wbr>t<br></div><div><br></div><div>$ gdal_translate --version</div><div>gdal_translate: symbol lookup error: /home/sam/anaconda2/envs/py36/<wbr>bin/../lib/libgdal.so.20: undefined symbol: _ZN11xercesc_3_<wbr>211InputSource11setEncodingEPK<wbr>t<br></div><div><br></div><div>### my environment</div><div><br></div><div>I set up a clean conda python 3.6 environment with:<br></div><div>$ conda create --name py36 python=3.6</div><div>$ conda install -c conda-forge gdal</div><div><br></div><div>$ conda list</div><div>gdal                      2.2.3                    py36_0    conda-forge<br></div><div>libgdal                   2.2.3                         3    conda-forge<br></div><div><br></div><div>$ conda info</div><div>active environment : py36<br></div><div>conda version : 4.4.7</div><div>platform : linux-64<br></div><div><br></div><div>## Other useful info:</div><div>$ gdal-config --libs</div><div>-L/home/sam/anaconda2/envs/<wbr>py36/lib -lgdal<br></div><div><br></div><div>$ gdal-config --cflags</div><div>-I/home/sam/anaconda2/envs/<wbr>py36/include</div><div><br></div><div>I got round this by simply running conda on windows 10 which does not encounter the above symbol error.</div><div><br></div><div>Thought I'd let the list know and if anyone had any ideas on how to resolve?</div><div><br></div><div>Thanks in advance.</div><br clear="all"><div><div class="m_-7126264681512008727gmail_signature"><div dir="ltr"><div><div dir="ltr">---<br><div><font face="courier new, monospace">Sam Franklin</font></div></div></div></div></div></div>
</div>
<br>______________________________<wbr>_________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/gdal-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Sean Gillies</div></div>
</div>