Hey Sean. Okay many thanks. Will take it up with the conda-forge people. as you suggest. Thanks, S
--- Sam Franklin On 31 January 2018 at 16:23, Sean Gillies <[email protected]> wrote: > Hi Sam, > > I don't know how to resolve the issue. There may be some clues in the > conda-forge GDAL tracker: https://github.com/conda- > forge/gdal-feedstock/issues 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. > > On Wed, Jan 31, 2018 at 4:50 AM, Sam Franklin <[email protected]> > wrote: > >> 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. >> >> ### The error >> >> $ gdalinfo >> gdalinfo: symbol lookup error: >> /home/sam/anaconda2/envs/py36/bin/../lib/libgdal.so.20: >> undefined symbol: _ZN11xercesc_3_211InputSource11setEncodingEPKt >> >> $ gdal_translate --version >> gdal_translate: symbol lookup error: >> /home/sam/anaconda2/envs/py36/bin/../lib/libgdal.so.20: >> undefined symbol: _ZN11xercesc_3_211InputSource11setEncodingEPKt >> >> ### my environment >> >> I set up a clean conda python 3.6 environment with: >> $ conda create --name py36 python=3.6 >> $ conda install -c conda-forge gdal >> >> $ conda list >> gdal 2.2.3 py36_0 conda-forge >> libgdal 2.2.3 3 conda-forge >> >> $ conda info >> active environment : py36 >> conda version : 4.4.7 >> platform : linux-64 >> >> ## Other useful info: >> $ gdal-config --libs >> -L/home/sam/anaconda2/envs/py36/lib -lgdal >> >> $ gdal-config --cflags >> -I/home/sam/anaconda2/envs/py36/include >> >> I got round this by simply running conda on windows 10 which does not >> encounter the above symbol error. >> >> Thought I'd let the list know and if anyone had any ideas on how to >> resolve? >> >> Thanks in advance. >> >> --- >> Sam Franklin >> >> _______________________________________________ >> gdal-dev mailing list >> [email protected] >> https://lists.osgeo.org/mailman/listinfo/gdal-dev >> > > > > -- > Sean Gillies >
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
