Re: [GENERAL] plpython.so

2006-10-27 Thread Devrim GUNDUZ
Hi, On Fri, 2006-10-27 at 22:37 +0300, Devrim GUNDUZ wrote: > Anyway... I have uploaded new sets. SRPMs and FC5 RPMs will be in main > FTP site in an hour. They are labeled as 8.1.5-4PGDG It is really a nightmare... David Fetter has just found a problem that breaks 64 bit builds. I have updated

Re: [GENERAL] plpython.so

2006-10-27 Thread Clodoaldo Pinto Neto
2006/10/27, Devrim GUNDUZ <[EMAIL PROTECTED]>: Hi, Anyway... I have uploaded new sets. SRPMs and FC5 RPMs will be in main FTP site in an hour. They are labeled as 8.1.5-4PGDG . Thanks! Clodoaldo ---(end of broadcast)--- TIP 1: if posting/read

Re: [GENERAL] plpython.so

2006-10-27 Thread Devrim GUNDUZ
Hi, On Fri, 2006-10-27 at 13:55 -0300, Clodoaldo Pinto Neto wrote: > Is it a problem if i use plpython.so from 8.1.4? I don't know. We need to check commit logs for plpython. Anyway... I have uploaded new sets. SRPMs and FC5 RPMs will be in main FTP site in an hour. They are labeled as 8.1.5-4PG

Re: [GENERAL] plpython.so

2006-10-27 Thread Clodoaldo Pinto Neto
2006/10/27, Devrim GUNDUZ <[EMAIL PROTECTED]>: Hi, On Fri, 2006-10-27 at 11:46 -0400, Tom Lane wrote: > Also, the .so is probably in the postgresql-pl RPM not > postgresql-python, unless Devrim has moved things around when I wasn't > looking. Yeah, it is my mistake :-( I had removed plpython.so

Re: [GENERAL] plpython.so

2006-10-27 Thread Devrim GUNDUZ
Hi, On Fri, 2006-10-27 at 11:46 -0400, Tom Lane wrote: > Also, the .so is probably in the postgresql-pl RPM not > postgresql-python, unless Devrim has moved things around when I wasn't > looking. Yeah, it is my mistake :-( I had removed plpython.so from installed files :( Sorry Cladoaldo and oth

Re: [GENERAL] plpython.so

2006-10-27 Thread Clodoaldo Pinto Neto
2006/10/27, Tom Lane <[EMAIL PROTECTED]>: "Clodoaldo Pinto Neto" <[EMAIL PROTECTED]> writes: > But I'm still with no /usr/lib/plpython.so. What am i missing? That's not where we keep it. Try /usr/lib/pgsql/plpython.so (or wherever "pg_config --pkglibdir" points to). My mistake, I was looking

Re: [GENERAL] plpython.so

2006-10-27 Thread Tom Lane
"Clodoaldo Pinto Neto" <[EMAIL PROTECTED]> writes: > But I'm still with no /usr/lib/plpython.so. What am i missing? That's not where we keep it. Try /usr/lib/pgsql/plpython.so (or wherever "pg_config --pkglibdir" points to). Also, the .so is probably in the postgresql-pl RPM not postgresql-pytho

[GENERAL] plpython.so

2006-10-27 Thread Clodoaldo Pinto Neto
I had 8.1.4 i386 installed from the FC5 repository. To upgrade to 8.1.5 I downloaded the srpm from pgsql mirrors and rebuilt it for i686. Then installed the 8 resulting rpms with yum update from a local repo. When I ran the application I had this error: psql:/fahstats/scripts/sql/fahstats.sql:1

Re: [GENERAL] plpython.so

2005-02-02 Thread elein
Installation of a new version of python (2.1) did the trick. The apparent failure of 2.1 was because 1.x remains on the system and I had to convince configure to ignore it. (PYTHON=python2) Thank you all. --elein On Wed, Feb 02, 2005 at 05:01:21PM -0600, Scott Marlowe wrote: > On Wed, 2005-02-02

Re: [GENERAL] plpython.so

2005-02-02 Thread Scott Marlowe
On Wed, 2005-02-02 at 16:26, elein wrote: > It did have an old python and we updated it to > python 2.1 and the problem still occurs. > > Is there a documented minimum python version required? > > --elein > > On Wed, Feb 02, 2005 at 04:16:03PM -0500, Tom Lane wrote: > > [EMAIL PROTECTED] (elein

Re: [GENERAL] plpython.so

2005-02-02 Thread elein
It did have an old python and we updated it to python 2.1 and the problem still occurs. Is there a documented minimum python version required? --elein On Wed, Feb 02, 2005 at 04:16:03PM -0500, Tom Lane wrote: > [EMAIL PROTECTED] (elein) writes: > > Fedora as listed below is really, RedHat Enter

Re: [GENERAL] plpython.so

2005-02-02 Thread Tom Lane
[EMAIL PROTECTED] (elein) writes: > Fedora as listed below is really, RedHat Enterprice Linux ES 2.1 ES 2.1 is pretty old; I'd not be at all surprised if it has a very obsolete python version. regards, tom lane ---(end of broadcast)

Re: [GENERAL] plpython.so

2005-02-02 Thread elein
Fedora as listed below is really, RedHat Enterprice Linux ES 2.1 I'm not sure about the second failing system. --elein On Wed, Feb 02, 2005 at 10:32:06AM -0800, elein wrote: > Debian--works (mine) > Fedora--doesn't work (not mine) > RedHat--doesn't work (not mine) > > Is it possible that there i

Re: [GENERAL] plpython.so

2005-02-02 Thread Tom Lane
[EMAIL PROTECTED] (elein) writes: > Debian--works (mine) > Fedora--doesn't work (not mine) > RedHat--doesn't work (not mine) [ blink ] plpython works for me on Fedora Core 3, using python-2.3.4-11. Anyone else see a problem with it? regards, tom lane ---

Re: [GENERAL] plpython.so

2005-02-02 Thread elein
Debian--works (mine) Fedora--doesn't work (not mine) RedHat--doesn't work (not mine) Is it possible that there is a problem with glibc? If so, what does one do about that? --elein On Wed, Feb 02, 2005 at 01:25:03PM -0500, Tom Lane wrote: > [EMAIL PROTECTED] (elein) writes: > > When I createlang

Re: [GENERAL] plpython.so

2005-02-02 Thread Tom Lane
[EMAIL PROTECTED] (elein) writes: > When I createlang plpythonu db I get this error: > createlang: language installation failed: ERROR: could not load library > "/usr/local/pgsql/lib/plpython.so": /usr/local/pgsql/lib/plpython.so: > undefined symbol: PyDict_Copy > build --with-python and create

[GENERAL] plpython.so

2005-02-02 Thread elein
On two different machines I've built pg 7.4 --with-python. When I createlang plpythonu db I get this error: createlang: language installation failed: ERROR: could not load library "/usr/local/pgsql/lib/plpython.so": /usr/local/pgsql/lib/plpython.so: undefined symbol: PyDict_Copy PyDict_Copy is