SAP Knowledge Base Article - Preview

2817983 - Python undefined symbol: _PyByteArray_empty_string - SDK for SAP ASE

Symptom

Python module fails with
$ /opt/python331/bin/python3 test.py
Traceback (most recent call last):
File "test.py", line 53, in <module>
import sybpydb
ImportError: $SYBASE/$SYBASE_OCS/python/python31_64r/lib/sybpydb.so: undefined symbol: _PyByteArray_empty_string


Read more...

Environment

  • SAP Sybase Software Developer Kit (SDK) 15.7
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0
  • Adaptive Server Enterprise extension module for Python
  • Python

Product

SAP Adaptive Server Enterprise SDK 16.0 ; SAP Adaptive Server Enterprise all versions ; Sybase Software Developer Kit 15.7

Keywords

Python, ct-library, OCS, Open Client, OpenClient, module, driver, import, start, run , KBA , BC-SYB-SDK , SDK , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.