Re: libpython - cannot open shared object file - Mailing list pgsql-general

From Tom Wilcox
Subject Re: libpython - cannot open shared object file
Date
Msg-id 4C21DAA5.2070007@gmail.com
Whole thread Raw
In response to Re: libpython - cannot open shared object file  (Magnus Hagander <magnus@hagander.net>)
Responses Re: libpython - cannot open shared object file  (Dimitri Fontaine <dfontaine@hi-media.com>)
List pgsql-general
OK! I have successfully got plpythonu installed. The solution was to
remove any and all postgresql installation and files except /data. I
then ran this from command line:

sudo apt-get install postgresql-plpython-8.4

which installed plpython AND postgresql at the same time. Happy days.

Next problem: "$libdir/fuzzystrmatch": No such file or directory. I
guess I need to install the /share stuff separately..

Any ideas where can get this stuff from? (I am using the TSearch2 and
fuzzy string functions).

On 23/06/2010 10:32, Magnus Hagander wrote:
> On Wed, Jun 23, 2010 at 11:20, Dave Page<dpage@pgadmin.org>  wrote:
>
>> On Wed, Jun 23, 2010 at 10:19 AM, Tom Wilcox<hungrytom@gmail.com>  wrote:
>>
>>> Hi,
>>>
>>> If I use the apt-get facility on Ubuntu is that supposed to get the
>>> appropriate postgres version for my OS setup (i.e. 64-bit and Python 2.6) ?
>>>
>> I would assume so. I'm more of a Redhat guy though.
>>
> It will - depending on your ubuntu version, of course. (Meaning if
> you're on an old version of ubuntu you'll get an old version of pg -
> but youll get one compiled against the system you're on). If you do
> get an old version, there are usually backports available of the newer
> versions.
>
>


pgsql-general by date:

Previous
From: Thom Brown
Date:
Subject: Re: Single quotes vs. double quotes when setting a pwd and other cmds
Next
From: Dimitri Fontaine
Date:
Subject: Re: libpython - cannot open shared object file