Re: PlPython with pyodbc error DLL load failed: A dynamic link library (DLL) initialization routine failed.

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: tuanhoanganh <hatuan05(at)gmail(dot)com>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: PlPython with pyodbc error DLL load failed: A dynamic link library (DLL) initialization routine failed.
Date: 2013-09-27 16:26:12
Message-ID: 5245B1A4.9020404@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 09/27/2013 08:55 AM, tuanhoanganh wrote:
> I try install plpython on PostgreSQL 9.3, Ubuntu 12.04 64bit but it has
> error when CREATE EXTENSION plpython3u;
> 2013-09-27 22:09:26 ICT LOG: database system was shut down at
> 2013-09-27 22:09:20 ICT
> 2013-09-27 22:09:26 ICT LOG: database system is ready to accept connections
> 2013-09-27 22:09:26 ICT LOG: autovacuum launcher started
> Traceback (most recent call last):
> File "/usr/lib/python3.2/sysconfig.py", line 354, in _init_posix
> _parse_makefile(makefile, vars)
> File "/usr/lib/python3.2/sysconfig.py", line 240, in _parse_makefile
> with open(filename, errors="surrogateescape") as f:
> IOError: [Errno 2] No such file or directory:
> '/usr/lib/python3.2/config-3.2m/Makefile'
>
> During handling of the above exception, another exception occurred:

At a guess you do not have the python3.2 devel package installed.

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message mdr 2013-09-27 16:26:17 Re: Trying to create DB / user to import some data
Previous Message tuanhoanganh 2013-09-27 15:55:39 Re: PlPython with pyodbc error DLL load failed: A dynamic link library (DLL) initialization routine failed.