undefined symbol: PyFloat_Type
Verfasst: Montag 30. April 2012, 09:13
Hi,
brauche wieder einmal eure Hilfe
Es gibt ein Problem (anscheinend) im Linker und ich weiss nicht woran das liegt.
Hintergrund: ich versuche (was auch soweit klappt), Gnumeric zu compilieren (neueste Source 1.11.3). Nur wenn ich die Python-Console kompilieren will, kommt ein:
Die gleiche Fehlermeldung kommt, wenn ich ein Python Plugin ausführen will.
In der Forensuche habe ich Blackjacks Antwort auf ein ähnliches Problem gefunden, hat leider auch nichts gebracht.
Meine Linkerzeile im makefile sieht so aus:
also mit blackjacks tip $(python2.7-config --ldflags)
macht es leider auch kein Unterschied.
ratlos, was ist da falsch oder könnte fehlen?
brauche wieder einmal eure Hilfe

Es gibt ein Problem (anscheinend) im Linker und ich weiss nicht woran das liegt.
Hintergrund: ich versuche (was auch soweit klappt), Gnumeric zu compilieren (neueste Source 1.11.3). Nur wenn ich die Python-Console kompilieren will, kommt ein:
Code: Alles auswählen
E Unable to open module file "/usr/local/lib/gnumeric/1.11.3/plugins/python-loader/python_loader".
E /usr/local/lib/gnumeric/1.11.3/plugins/python-loader/python_loader.so: undefined symbol: PyFloat_Type
In der Forensuche habe ich Blackjacks Antwort auf ein ähnliches Problem gefunden, hat leider auch nichts gebracht.
Meine Linkerzeile im makefile sieht so aus:
Code: Alles auswählen
python_loader_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
$(AM_CFLAGS) $(CFLAGS) $(python_loader_la_LDFLAGS) $(LDFLAGS) \
-o $@
Code: Alles auswählen
python_loader_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
$(AM_CFLAGS) $(CFLAGS) $(python_loader_la_LDFLAGS) $(LDFLAGS) \
-$(python2.7-config --ldflags) o $@
ratlos, was ist da falsch oder könnte fehlen?