question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Undefined symbol: proj_context_set_autoclose_database

See original GitHub issue

In trying to install and work with sentinelhub there is a dependency to pyproj package. Any tips to what could be going wrong with pyproj

from pyproj import _datadir
ImportError: lib/python3.6/site-packages/pyproj-2.6.0-py3.6-linux-ppc64le.egg/pyproj/_datadir.cpython-36m-powerpc64le-linux-gnu.so: undefined symbol: proj_context_set_autoclose_database
from sentinelhub.common import BBox, CRS
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "lib/python3.6/site-packages/sentinelhub-3.0.2-py3.6.egg/sentinelhub/__init__.py", line 5, in <module>
    from .data_request import WmsRequest, WcsRequest, FisRequest, GeopediaWmsRequest, GeopediaImageRequest, \
  File "lib/python3.6/site-packages/sentinelhub-3.0.2-py3.6.egg/sentinelhub/data_request.py", line 13, in <module>
    from .ogc import OgcImageService
  File "/lib/python3.6/site-packages/sentinelhub-3.0.2-py3.6.egg/sentinelhub/ogc.py", line 11, in <module>
    from .constants import ServiceType, DataSource, MimeType, CRS, SHConstants, CustomUrlParam
  File "/lib/python3.6/site-packages/sentinelhub-3.0.2-py3.6.egg/sentinelhub/constants.py", line 12, in <module>
    import pyproj
  File "lib/python3.6/site-packages/pyproj-2.6.0-py3.6-linux-ppc64le.egg/pyproj/__init__.py", line 51, in <module>
    from pyproj import _datadir
ImportError: lib/python3.6/site-packages/pyproj-2.6.0-py3.6-linux-ppc64le.egg/pyproj/_datadir.cpython-36m-powerpc64le-linux-gnu.so: undefined symbol: proj_context_set_autoclose_database

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
snowman2commented, Apr 13, 2020

This is pyproj version 1.9.5.1

The CRS class only exists in pyproj>=2

0reactions
snowman2commented, Apr 13, 2020

Not a problem 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Undefined symbol: _ZN7QString13toUtf8_helperERKS_ at ...
I have two projects using Qt. One is being developed with QtCreator, the other with eclipse. Both use the same Qt 5.3.1 libraries,...
Read more >
undefined symbol error when calling stat from extproc
Hi, I'm trying to call an external procedure written in C that calls stat, and am getting the following error.
Read more >
Error on compiling python interface · Issue #119 - GitHub
The missing symbols are normal, the python functions will be provided by Python when the shared lib is loaded. Is anything not working?...
Read more >
[ROS Q&A] 069 - RQT Custom Plugin: undefined symbol
Q: The error says: Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between...
Read more >
KDE undefined symbol error : r/ManjaroLinux - Reddit
KDE undefined symbol error. Hi,. I updated to KDE Plasma 5.21.3 today, and after the update, KDE apps don't launch.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found