Hi, so I'm trying to use the python library on Ubuntu and having a hard time. I have the PDFNetC in the same directory as I'm running the test program. Here's the program and the error I'm experiencing
import site
site.addsitedir("PDFNetC/Lib")
from PDFNetPython import *
print(dir(PDFNetPython))
And the error:
Traceback (most recent call last):
File "pdfTest.py", line 3, in <module>
from PDFNetPython import *
File "~/Documents/PDFNetTest/PDFNetC/Lib/PDFNetPython.py", line 28, in <module>
_PDFNetPython = swig_import_helper()
File "~/Documents/PDFNetTest/PDFNetC/Lib/PDFNetPython.py", line 24, in swig_import_helper
_mod = imp.load_module('_PDFNetPython', fp, pathname, description)
ImportError: libPDFNetC.so: cannot open shared object file: No such file or directory
Thanks for any advice