Unix Technical Forum

is there anything wrong in my configuration???

This is a discussion on is there anything wrong in my configuration??? within the pgsql Admins forums, part of the PostgreSQL category; --> # ./configure --prefix=/usr/local/pgsql --with-python # make # make install # adduser postgres # mkdir /usr/local/pgsql/data # chown postgres /usr/local/pgsql/data ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 06:46 AM
slackman@unika.ac.id
 
Posts: n/a
Default is there anything wrong in my configuration???

# ./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.
%

if I try:
# /usr/local/pgsql/bin/createlang -U postgres plpythonu template1
createlang: language installation failed: ERROR: could not load library
"/usr/l
ocal/pgsql/lib/plpython.so": dlopen (/usr/local/pgsql/lib/plpython.so)
failed: /
usr/local/pgsql/lib/plpython.so: Undefined symbol "pthread_create"
#
is there anything wrong in my configuration???
my box is using freebsd 5.0, python 2.4.2, postgresql-8.1.2
thank you all for your help....
Dedy Styawan


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 06:47 AM
Jim C. Nasby
 
Posts: n/a
Default Re: is there anything wrong in my configuration???

On Thu, Feb 02, 2006 at 11:07:41AM +0700, slackman@unika.ac.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.
> %
>
> if I try:
> # /usr/local/pgsql/bin/createlang -U postgres plpythonu template1
> createlang: language installation failed: ERROR: could not load library
> "/usr/l
> ocal/pgsql/lib/plpython.so": dlopen (/usr/local/pgsql/lib/plpython.so)
> failed: /
> usr/local/pgsql/lib/plpython.so: Undefined symbol "pthread_create"
> #
> is there anything wrong in my configuration???
> my box is using freebsd 5.0, python 2.4.2, postgresql-8.1.2
> thank you all for your help....
> Dedy Styawan


This is an issue with pthreads. I don't remember the details, but if you
google you should find something. Also take a look at
http://archives.postgresql.org/pgsql...2/msg00143.php .
--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:13 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com