libpoppler.so.71: cannot open shared object file: No such file or directory
See original GitHub issue>>> import gmt
Traceback (most recent call last):
File "/users1j/cliu/soft/anaconda2/envs/gmt-python/lib/python3.6/site-packages/gmt/clib/utils.py", line 159, in load_libgmt
libgmt = ctypes.CDLL('.'.join([libname, clib_extension()]))
File "/users1j/cliu/soft/anaconda2/envs/gmt-python/lib/python3.6/ctypes/__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)
OSError: libpoppler.so.71: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/users1j/cliu/soft/anaconda2/envs/gmt-python/lib/python3.6/site-packages/gmt/__init__.py", line 27, in <module>
_begin()
File "/users1j/cliu/soft/anaconda2/envs/gmt-python/lib/python3.6/site-packages/gmt/session_management.py", line 17, in begin
with LibGMT() as lib:
File "/users1j/cliu/soft/anaconda2/envs/gmt-python/lib/python3.6/site-packages/gmt/clib/core.py", line 103, in __init__
self._bind_clib_functions(libname)
File "/users1j/cliu/soft/anaconda2/envs/gmt-python/lib/python3.6/site-packages/gmt/clib/core.py", line 136, in _bind_clib_functions
self._libgmt = load_libgmt(libname)
File "/users1j/cliu/soft/anaconda2/envs/gmt-python/lib/python3.6/site-packages/gmt/clib/utils.py", line 168, in load_libgmt
raise GMTCLibNotFoundError(msg)
gmt.exceptions.GMTCLibNotFoundError: Couldn't find the GMT shared library 'libgmt'. Have you tried setting the LD_LIBRARY_PATH environment variable?
Original error message:
libpoppler.so.71: cannot open shared object file: No such file or directory
Issue Analytics
- State:
- Created 6 years ago
- Comments:19 (9 by maintainers)
Top Results From Across the Web
error while loading shared libraries: libpoppler.so.58
error while loading shared libraries: libpoppler.so.90: cannot open shared object file: No such file or directory.
Read more >Encountered missing shared library issue / Installation ...
Encountered this weird shared library issue ... libraries: libpoppler.so.114: cannot open shared object file: No such file or directory.
Read more >libpoppler.so.71: cannot open shared object file: No such ...
使用conda安装gdal后,在回滚变更环境后出错:geoio ImportError: libpoppler.so.71: cannot open shared object file: No such file or directory.
Read more >Library import errors: libpoppler.so.91 and libtbb.so.2 ...
Error returned: ImportError: libpoppler.so.91: cannot open shared object file: No such file or directory. Solution: Run the command “conda ...
Read more >GDAL import fails with ImportError: libpoppler.so.71: cannot ...
GDAL import fails with ImportError: libpoppler.so.71: cannot open shared object file: No such file or directory.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is the line of syntax seemed to have fixed by issue.
After which run the
command to make sure packages are coming from conda-forge
@adamnicholasprice thanks! I think I see a problem. Your gdal isn’t coming from conda-forge for some reason but poppler is. That might be causing the linking issue. Could you try the following please?
.condarc
file in your home directory to include this (it will make conda-forge a priority):conda list
to see ifgdal
is coming from theconda-forge
channel and report back.More information about these issues on the conda-forge documentation: https://conda-forge.org/docs/conda-forge_gotchas.html