Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Patch to fix plpython on OS X

From: "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org,pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Patch to fix plpython on OS X
Date: 2005-07-20 20:44:27
Message-ID: 20050720204427.GW10127@decibel.org (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
On Tue, Jul 19, 2005 at 05:47:37PM -0600, Michael Fuhr wrote:
> On Tue, Jul 19, 2005 at 06:06:00PM -0500, Jim C. Nasby wrote:
> > buildfar(at)phonebook(dot)1[18:00]~/buildfarm/HEAD/pgsqlkeep.1121809875/src/pl/plpython:41%otool -L libplpython.0.0.so 
> > libplpython.0.0.so:
> >         /System/Library/Frameworks/Python.framework/Versions/2.3/Python (compatibility version 2.3.0, current version 2.3.0)
> >         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.3)
> 
> If that first object has something to do with Python 2.3 then we
> might have found the culprit.  But how'd you get that?

No idea at all. Is there some way to find out from how it was built?

> > configure.log:checking Python configuration directory... /opt/local/lib/python2.4/config
> > configure.log:checking how to link an embedded Python application... -L/opt/local/lib/python2.4/config -lpython2.4 -ldl
> 
> The above looks reasonable.
> 
> > make.log:ccache gcc -no-cpp-precomp -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -g  -bundle  plpython.o  -L../../../src/port -L/opt/local/lib -bundle_loader ../../../src/backend/postgres -framework Python  -o libplpython.0.0.so
> 
> Hmmm...what's that "-framework Python" business?  Looks mighty
> suspicious in light of the otool output.

Again, no idea. IANAC (I am not a coder) :)
-- 
Jim C. Nasby, Database Consultant               decibel(at)decibel(dot)org 
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

In response to

pgsql-hackers by date

Next:From: Jim C. NasbyDate: 2005-07-20 20:46:20
Subject: Re: Buildfarm issues on specific machines
Previous:From: Tom LaneDate: 2005-07-20 18:10:29
Subject: Re: Buildfarm issues on specific machines

pgsql-patches by date

Next:From: Kevin McArthurDate: 2005-07-21 00:01:53
Subject: Timezone bugs
Previous:From: Rocco AltierDate: 2005-07-20 18:42:15
Subject: Re: [COMMITTERS] pgsql: Add 'day' field to INTERVAL so 1 day interval

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group