Skip to content

Instantly share code, notes, and snippets.

@msabramo
Created June 8, 2012 00:43
Show Gist options
  • Select an option

  • Save msabramo/2892694 to your computer and use it in GitHub Desktop.

Select an option

Save msabramo/2892694 to your computer and use it in GitHub Desktop.
/usr/local/bin/ginstall -c -d -m 755 Python.framework/Versions/2.7
gcc -o Python.framework/Versions/2.7/Python -dynamiclib \
-all_load libpython2.7.a -Wl,-single_module \
-install_name /Library/Frameworks/Python.framework/Versions/2.7/Python \
-compatibility_version 2.7 \
-current_version 2.7;
Undefined symbols:
"___dtraceenabled_python___line", referenced from:
_PyEval_EvalFrameExReal in libpython2.7.a(ceval.o)
"___dtrace_python___gc__start", referenced from:
__PyObject_GC_Malloc in libpython2.7.a(gcmodule.o)
_PyGC_Collect in libpython2.7.a(gcmodule.o)
_gc_collect in libpython2.7.a(gcmodule.o)
"___dtrace_python___instance__delete__done", referenced from:
_instance_dealloc in libpython2.7.a(classobject.o)
_subtype_dealloc in libpython2.7.a(typeobject.o)
"___dtraceenabled_python___gc__done", referenced from:
__PyObject_GC_Malloc in libpython2.7.a(gcmodule.o)
_PyGC_Collect in libpython2.7.a(gcmodule.o)
_gc_collect in libpython2.7.a(gcmodule.o)
"___dtraceenabled_python___function__entry", referenced from:
_PyEval_EvalFrameExReal in libpython2.7.a(ceval.o)
"___dtraceenabled_python___instance__delete__done", referenced from:
_instance_dealloc in libpython2.7.a(classobject.o)
_instance_dealloc in libpython2.7.a(classobject.o)
_instance_dealloc in libpython2.7.a(classobject.o)
_subtype_dealloc in libpython2.7.a(typeobject.o)
_subtype_dealloc in libpython2.7.a(typeobject.o)
"___dtraceenabled_python___instance__new__done", referenced from:
_PyInstance_New in libpython2.7.a(classobject.o)
_PyType_GenericAlloc in libpython2.7.a(typeobject.o)
"___dtraceenabled_python___gc__start", referenced from:
__PyObject_GC_Malloc in libpython2.7.a(gcmodule.o)
_PyGC_Collect in libpython2.7.a(gcmodule.o)
_gc_collect in libpython2.7.a(gcmodule.o)
"___dtrace_python___instance__new__done", referenced from:
_PyInstance_New in libpython2.7.a(classobject.o)
_PyType_GenericAlloc in libpython2.7.a(typeobject.o)
_PyType_GenericAlloc in libpython2.7.a(typeobject.o)
"___dtraceenabled_python___instance__delete__start", referenced from:
_instance_dealloc in libpython2.7.a(classobject.o)
_instance_dealloc in libpython2.7.a(classobject.o)
_subtype_dealloc in libpython2.7.a(typeobject.o)
"___dtraceenabled_python___instance__new__start", referenced from:
_PyInstance_New in libpython2.7.a(classobject.o)
_PyType_GenericAlloc in libpython2.7.a(typeobject.o)
"___dtrace_python___instance__new__start", referenced from:
_PyInstance_New in libpython2.7.a(classobject.o)
_PyType_GenericAlloc in libpython2.7.a(typeobject.o)
"___dtraceenabled_python___function__return", referenced from:
_PyEval_EvalFrameExReal in libpython2.7.a(ceval.o)
"___dtrace_python___line", referenced from:
_PyEval_EvalFrameExReal in libpython2.7.a(ceval.o)
"___dtrace_python___gc__done", referenced from:
__PyObject_GC_Malloc in libpython2.7.a(gcmodule.o)
_PyGC_Collect in libpython2.7.a(gcmodule.o)
_gc_collect in libpython2.7.a(gcmodule.o)
"___dtrace_python___instance__delete__start", referenced from:
_instance_dealloc in libpython2.7.a(classobject.o)
_subtype_dealloc in libpython2.7.a(typeobject.o)
"___dtrace_python___function__return", referenced from:
_PyEval_EvalFrameExReal in libpython2.7.a(ceval.o)
"___dtrace_python___function__entry", referenced from:
_PyEval_EvalFrameExReal in libpython2.7.a(ceval.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [Python.framework/Versions/2.7/Python] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment