Running PDFNet with UCS2 and UCS4 PYTHON on Linux


Im starting one project which requires dealing with PDF files. Before going ahead and buying your licence i wanted to test if we can achieve what we need, with your software (which looks mighty impressive).

But when i tried to run one Sample script i got error:

foo@foo:~/Downloads/pdftron/PDFNetC64/Samples/ConvertTest/PYTHON$ python

Traceback (most recent call last):

File “”, line 10, in

from PDFNetPython2 import *

File “/home/foo/Downloads/pdftron/PDFNetC64/Lib/”, line 26, in

ImportError: /home/foo/Downloads/pdftron/PDFNetC64/Lib/ undefined symbol: PyUnicodeUCS2_AsUTF8String

when i googled it i found this page, which explains the issue very well:

Trying to run the example test script from that page i got:

foo@foo:~/Downloads/pdftron/PDFNetC/Samples/ConvertTest/PYTHON$ python

Python 2.7.2+ (default, Oct 4 2011, 20:06:09)

[GCC 4.6.1] on linux2

Type “help”, “copyright”, “credits” or “license” for more information.

import sys

print sys.maxunicode


Now is it possible to get compiled version of your software, which i can run on this computer?


For purposes of evaluation you could install a UCS2 version of Python (I believe you would not need another machine for this).

Once you are ready to go with the production we can provide you with the UCS4 version.