Some test text!

"undefined symbol: PyUnicodeUCS4\_..." or "undefined symbol: PyUnicodeUCS2\_..." errors

"undefined symbol: PyUnicodeUCS4\_..." or "undefined symbol: PyUnicodeUCS2\_..." errors

This error means there is a mismatch between the byte size of Unicode characters used by the environment used to build the wrappers and the environment used to run them. Read this for more information.

If this error occured when using python environments with pyenv, you can simply reinstall the python version used to run the tests with the required Unicode character size. For example, if your Python version was 2.7.16 and you received the undefined symbol: PyUnicodeUCS2_ error when running the samples, execute:

pyenv uninstall 2.7.16

followed by

PYTHON_CONFIGURE_OPTS="--enable-unicode=ucs2" pyenv install 2.7.16

then set your pyenv environment to 2.7.16 and rerun the samples.

Get the answers you need: Support

Upcoming Webinar: Customer Experience and Retaining Control: Boosting Document Automation and Efficiency in Financial Services | Sept 15, 2022 at 11 am PT


The Platform


© 2022 PDFTron Systems Inc. All rights reserved.


Terms of Use