Skip to content

Commit

Permalink
fix backport
Browse files Browse the repository at this point in the history
error: Error: PyObject_HasAttrStringWithError - dlsym(0x89362870, PyObject_HasAttrStringWithError): symbol not found
  • Loading branch information
t-kalinowski committed Oct 28, 2024
1 parent 24bc921 commit faba77f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libpython.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ bool LibPython::loadSymbols(int python_major_ver, int python_minor_ver, std::str
LOAD_PYTHON_SYMBOL(PyObject_HasAttrStringWithError)
LOAD_PYTHON_SYMBOL(PyObject_GetOptionalAttrString)
} else {
LOAD_PYTHON_SYMBOL_AS(PyObject_HasAttrStringWithError, PyObject_HasAttrString)
LOAD_PYTHON_SYMBOL_AS(PyObject_HasAttrString, PyObject_HasAttrStringWithError)
PyObject_GetOptionalAttrString = &_PyObject_GetOptionalAttrString;
}
LOAD_PYTHON_SYMBOL(PyObject_SetAttrString)
Expand Down

0 comments on commit faba77f

Please sign in to comment.