Actions
Bug #5860
closedSelf built python extension failure to link library
Start date:
2023-01-26
Due date:
% Done:
0%
Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
12.0
Fixed in version:
12.5
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:
Description
Reported by userL https://saxonica.plan.io/boards/4/topics/9261
There is a problem to self build the python library from the pypi directory.
Currently if we build the wheel with the command:
python3 setup.py bdist_wheel
or building the extension locallly:
python3 setup.py build_ext -if
It builds successfully (although user reported that they had to make changes in the setup file to locate the library). When we run a sample python script we get the following error:
Traceback (most recent call last):
File "/Users/ond1/work/saxondev/build/temp/libsaxon-EEC-mac-x86_64-v12.0/pypi/samples/saxon_example.py", line 1, in <module>
import saxoncee
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/saxoncee.cpython-39-darwin.so, 0x0002): symbol not found in flat namespace (_addProcessorDataPair)
Please register to edit this issue
Actions