Skip to content

error in from sasl.saslwrapper import * #20

Description

@pchamar

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++")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions