Subject: python on os/x?
To: None <tech-pkg@netbsd.org>
From: MLH <mlh@goathill.org>
List: tech-pkg
Date: 10/18/2004 16:54:40
Did anyone ever determine a way to link Python libraries under OS/X?

gcc -L/usr/lib -L/usr/pkg/lib -bundle -bundle_loader /usr/pkg/bin/python2p3 -L/usr/pkg/lib/python2p3/config -L/usr/pkg/lib -O2 -I/usr/pkg/include/python2p3 -no-cpp-precomp -I/usr/pkg/include/python2p3 build/temp.darwin-7.5.0-Power_Macintosh-2p3/Src/_numpymodule.o build/temp.darwin-7.5.0-Power_Macintosh-2p3/Src/arrayobject.o build/temp.darwin-7.5.0-Power_Macintosh-2p3/Src/ufuncobject.o -o build/lib.darwin-7.5.0-Power_Macintosh-2p3/_numpy.so -L/usr/pkg/lib/python2p3/config -L/usr/pkg/lib
ld: Undefined symbols:
_PyCObject_FromVoidPtr
_PyDict_SetItemString
_PyErr_Occurred
_PyModule_GetDict
_PyType_Type
...
_PyTuple_Size
error: command 'gcc' failed with exit status 1
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/math/py-Numeric