Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in from sasl.saslwrapper import * #20

Open
pchamar opened this issue Dec 31, 2020 · 0 comments
Open

error in from sasl.saslwrapper import * #20

pchamar opened this issue Dec 31, 2020 · 0 comments

Comments

@pchamar
Copy link

pchamar commented Dec 31, 2020

Trying to connect to hive using sqlalchemy and pyhive. i am getting following error

/venv/lib64/python3.6/site-packages/sasl-0.2.1-py3.6-linux-x86_64.egg/sasl/saslwrapper.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _Py_RefTotal

OS : RHEL 8
Python : 3.6

Is it a known bug? Based on some research tried to do following when building sasl

sasl_module = Extension('sasl.saslwrapper',
sources=['sasl/saslwrapper.cpp'],
include_dirs=["sasl"],
define_macros=[('-D_GLIBCXX_USE_CXX11_ABI=0')],
libraries=["sasl2"],
language="c++")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant