Segfault-Inc / Multicorn

Data Access Library
https://multicorn.org/
PostgreSQL License
699 stars 145 forks source link

Undefined symbol: PyUnicodeUCS2_Decode, PG9.6, CentOS 6.5 #186

Open consultanttelecom opened 7 years ago

consultanttelecom commented 7 years ago

I get this error on CREATE EXTENSION multicorn; It fails to load the library.

Although the OS requires Python 2.6 for yum etc, I have an alternate install of Python 2.7, and have built multicorn from source using 2.7.

I have a standard yum install of PostgreSQL 9,6 (although the same problem occurs with PG built from source and using Python 2.7.

I have also built Python 2.7 with both --enable-unicode=ucs2 and ucs4 and it makes no difference.

I am not an expert, but if someone familiar with multicorn can point the way as to where the issue may lie I would be grateful.

Thanks