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-19 21:51:03
Message-ID: 20050719215103.GB10127@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Tue, Jul 19, 2005 at 02:42:07PM -0600, Michael Fuhr wrote:
> On Tue, Jul 19, 2005 at 03:11:35PM -0500, Jim C. Nasby wrote:
> > On Tue, Jul 19, 2005 at 01:54:00PM -0600, Michael Fuhr wrote:
> > > Does this machine have ldd or the equivalent? If so, can you compare
> > > "ldd /path/to/python" and "ldd /path/to/plpython.so"?
> >
> > Oddly, no, it doesn't seem to have ldd. And the buildfarm script seems
> > to clean everything up even in the pgsqlkeep directories; or at least I
> > couldn't find a plpython.so laying around.
>
> [googles]
>
> "otool -L" appears to be the Darwin equivalent of ldd. If you can
> manage to find a plpython.so then it would be interesting to see
> which libpython it's linked against.

I'm going to run a build with the non-experimental version of run_build.pl and
see if I'll have some files left then.

> Can you search the system for all files named libpython* and post
> what you find?

buildfar(at)phonebook(dot)1[16:42]~:11%locate libpython
/Applications/NeoOfficeJ.app/Contents/MacOS/libpython.dylib
/Applications/NeoOfficeJ.app/Contents/MacOS/libpython2.2.dylib
/Applications/NeoOfficeJ.app/Contents/MacOS/libpython2.dylib
/Applications/OpenOffice.org1.1.2/program/libpython.dylib
/Applications/OpenOffice.org1.1.2/program/libpython2.2.dylib
/Applications/OpenOffice.org1.1.2/program/libpython2.dylib
/opt/local/lib/libpython2.4.dylib
/opt/local/lib/python2.4/config/libpython2.4.a
/opt/local/var/db/dports/software/python24/2.4_3/opt/local/lib/libpython2.4.dylib
/opt/local/var/db/dports/software/python24/2.4_3/opt/local/lib/python2.4/config/libpython2.4.a
buildfar(at)phonebook(dot)1[16:42]~:12%

--
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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2005-07-19 22:50:11 Re: Constraint Exclusion on all tables
Previous Message Simon Riggs 2005-07-19 21:23:49 Constraint Exclusion on all tables

Browse pgsql-patches by date

  From Date Subject
Next Message Alon Goldshuv 2005-07-19 22:06:17 Re: COPY FROM performance improvements
Previous Message Mark Wong 2005-07-19 21:37:58 Re: COPY FROM performance improvements