libxml2-py310 fails to build

Sean Case <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
Running on Sonoma - yes, I know that’s not exactly supported.

It seems to go wrong around here:

> /bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2   -module -avoid-version -lxml2 -L/opt/sw/lib/aarch64-darwin -L/opt/sw/lib -Wl,-headerpad_max_install_names -o libxml2mod.la -rpath /opt/sw/lib/python3.10/site-packages libxml.lo libxml2-py.lo types.lo   -ldl -Wl,-framework,CoreFoundation 
> libtool: link: gcc  -o .libs/libxml2mod.so -bundle  .libs/libxml.o .libs/libxml2-py.o .libs/types.o   /opt/sw/lib/libxml2.dylib -L/opt/sw/lib/aarch64-darwin -L/opt/sw/lib -ldl  -g -O2 -Wl,-headerpad_max_install_names -Wl,-framework -Wl,CoreFoundation   -pthread
> ld: Undefined symbols:
>   _PyBool_Type, referenced from:
>       _libxml_xmlXPathObjectPtrConvert in types.o
>   _PyBytes_AsString, referenced from:
>       _xmlPythonFileReadRaw in libxml.o
>       _xmlPythonFileRead in libxml.o
>       _PystringSet_Convert in libxml.o
>   _PyBytes_Size, referenced from:
>       _xmlPythonFileReadRaw in libxml.o
>       _xmlPythonFileRead in libxml.o
>   _PyCallable_Check, referenced from:
>       _libxml_xmlSetEntityLoader in libxml.o
>       _libxml_xmlRegisterInputCallback in libxml.o
>   _PyCapsule_GetName, referenced from:
>       _libxml_getObjDesc in libxml.o
>   _PyCapsule_GetPointer, referenced from:
>       _libxml_getObjDesc in libxml.o
>       _libxml_xmlXPathDestructNsNode in types.o
>   _PyCapsule_New, referenced from:
>       _libxml_xmlDocPtrWrap in types.o
>       _libxml_xmlNodePtrWrap in types.o
>       _libxml_xmlURIPtrWrap in types.o
>       _libxml_xmlNsPtrWrap in types.o
>       _libxml_xmlAttrPtrWrap in types.o
>       _libxml_xmlAttributePtrWrap in types.o
>       _libxml_xmlElementPtrWrap in types.o
>       ...


plus many more missing symbols.

The missing symbols look like things that would be in the Python runtime library, which doesn’t seem to be mentioned in the linker command.  That seems like it might be a problem.

Any suggestions?

Sean Case




_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.