From: | slackman(at)unika(dot)ac(dot)id |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Cc: | dbrignar(at)gmail(dot)com |
Subject: | Re: is there any missing ?? |
Date: | 2006-02-03 02:18:32 |
Message-ID: | 20060203021832.16478.qmail@mail.unika.ac.id |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
%bin/createlang plpythonu template1;
createlang: language installation failed: ERROR: could not load library
"/usr/local/pgsql/lib/plpython.so": dlopen
(/usr/local/pgsql/lib/plpython.so) failed: /usr/local/pgsql/lib/plpython.so:
Undefined symbol "pthread_create"
%
in my w2k box i use this function,
CREATE FUNCTION plpython_call_handler() RETURNS language_handler
AS '$libdir/plpython'
LANGUAGE C;
CREATE LANGUAGE python
HANDLER plpython_call_handler;
is it okay??
Dario Brignardello writes:
> Well, according to the docs at
> http://www.postgresql.org/docs/8.1/interactive/plpython.html
> the correct name would be "plpythonu".
> As a matter of facts, you can do a
> 'select tmplname from pg_pltemplate;'
> to check wich languages are available.
>
> Hope it helps.
> Best regards
> Dario
>
>
>
>
> On 2/2/06, slackman(at)unika(dot)ac(dot)id <slackman(at)unika(dot)ac(dot)id> wrote:
>>
>> # ./configure --prefix=/usr/local/pgsql --with-python
>> # make
>> # make install
>> # adduser postgres
>> # mkdir /usr/local/pgsql/data
>> # chown postgres /usr/local/pgsql/data
>> # su postgres
>> % /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
>> % /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l
>> /usr/local/pgsql/pg_start.log start
>> %/usr/local/pgsql/bin/createlang plpython template1
>> createlang: language installation failed: ERROR: unsupported language
>> "plpython"
>> HINT: The supported languages are listed in the pg_pltemplate system
>> catalog.
>> %
>> i there any missing ???
>> i have configured python lib
>> my box is using freebsd 5.0, python 2.4.2, postgresql-8.1.2
>> thank you all for your kinness
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 4: Have you searched our list archives?
>>
>> http://archives.postgresql.org
>>
>
>
>
> --
> Atte: Dario Brignardello
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Fuhr | 2006-02-03 03:17:17 | Re: is there any missing ?? |
Previous Message | Jeremy Ashcraft | 2006-02-02 20:22:59 | Re: strange hung processes |