The problem is missing link to python lib normally. You have
gcc -pthread -shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags build/temp.linux-x86_64-3.3/
Den Sunday 25 November 2012 14.06.59 skrev Benny Malengier:
> Do you have python3-dev installed?Yes, I have a package lib64python3-devel installed.
Yes, there is a dircetory
> Note that for some reasons, he looks in: -I/usr/include
> so python3.3m and not python3.3 which I don't understand :-)
with 94 *.h files.
Also in /usr/lib64 I have three files
when in the command I have "-R/usr/lib64 -ldb-5.3"
Note; my knowledge level of C and gcc is very low :)
> 2012/11/25 Peter Landgren <email@example.com>
> > undefined reference to `_Py_NoneStruct
671 94 BRUNSKOG