Re: Threaded python on FreeBSD - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Threaded python on FreeBSD
Date
Msg-id 200610152239.50234.peter_e@gmx.net
Whole thread Raw
In response to Threaded python on FreeBSD  ("Jim C. Nasby" <jim@nasby.net>)
Responses Re: Threaded python on FreeBSD  ("Jim C. Nasby" <jim@nasby.net>)
List pgsql-hackers
Jim C. Nasby wrote:
> Currently, the FreeBSD ports make the following change when building
> python:
>
> --- src/pl/plpython/Makefile.orig       Fri Nov 19 20:23:01 2004
> +++ src/pl/plpython/Makefile    Tue Dec 28 23:32:16 2004
> @@ -9,7 +9,7 @@
>  # shared library.  Since there is no official way to determine this
>  # (at least not in pre-2.3 Python), we see if there is a file that
> is # named like a shared library.
> -ifneq (,$(wildcard $(python_libdir)/libpython*$(DLSUFFIX)*))
> +ifneq (,$(wildcard $(python_libdir)/../../libpython*$(DLSUFFIX)*))
>  shared_libpython = yes
>  endif

Since python_libdir is /usr/local/lib on this platform, this would look 
for libpython in /usr, which makes no sense.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] New shared memory hooks proposal (was Re: pre_load_libraries)
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Threaded python on FreeBSD