Fwd: lib_pyapi complains about undefined symbol PyInt_Type
Hi, on my personal machine, when starting mserver5, monetdb complains with the following message: !SyntaxException:parseError: !LoaderException:loadLibrary:Loading error failed to open library pyapi (from within file '/linux/workspace/monetdb/build/lib/monetdb5/lib_pyapi.so'): /linux/workspace/monetdb/build/lib/monetdb5/lib_pyapi.so: undefined symbol: PyInt_Type !SyntaxException:parseError: !<identifier> expected I guess this is another case of conflict Python 2 vs 3. I am using ArchLinux where the default is v3. In my case a workaround seems to be forcing back python2 (see patch). Dean
I tried this before, and the problem I ran into was that some older systems where python2 is the default do not provide python2-config as an alias for python-config. But indeed this problem should be solved. It is unfortunate that python-config does not provide a —version command, although it can possibly be parsed from the —libs file. I will mess around with it a little bit.
On 05 Oct 2016, at 21:07, Dean De Leo
wrote: Hi,
on my personal machine, when starting mserver5, monetdb complains with the following message:
!SyntaxException:parseError: !LoaderException:loadLibrary:Loading error failed to open library pyapi (from within file '/linux/workspace/monetdb/build/lib/monetdb5/lib_pyapi.so'): /linux/workspace/monetdb/build/lib/monetdb5/lib_pyapi.so: undefined symbol: PyInt_Type !SyntaxException:parseError: !<identifier> expected
I guess this is another case of conflict Python 2 vs 3. I am using ArchLinux where the default is v3. In my case a workaround seems to be forcing back python2 (see patch).
Dean
_______________________________________________ developers-list mailing list developers-list@monetdb.org https://www.monetdb.org/mailman/listinfo/developers-list
participants (2)
-
Dean De Leo
-
Mark Raasveldt