X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id F1DB49DC8AA for ; Tue, 7 Feb 2006 02:36:13 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 63832-06 for ; Tue, 7 Feb 2006 02:36:13 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 63D239DC803 for ; Tue, 7 Feb 2006 02:36:10 -0400 (AST) Received: by noel.decibel.org (Postfix, from userid 1001) id 1BD0539841; Tue, 7 Feb 2006 06:36:11 +0000 (UTC) Date: Tue, 7 Feb 2006 00:36:11 -0600 From: "Jim C. Nasby" To: slackman@unika.ac.id Cc: pgsql-admin@postgresql.org Subject: Re: is there anything wrong in my configuration??? Message-ID: <20060207063611.GF13592@pervasive.com> References: <20060202040741.10944.qmail@mail.unika.ac.id> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060202040741.10944.qmail@mail.unika.ac.id> X-Operating-System: FreeBSD 6.0-RELEASE amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.104 required=5 tests=[AWL=0.104] X-Spam-Score: 0.104 X-Spam-Level: X-Archive-Number: 200602/65 X-Sequence-Number: 20486 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-bugs/2005-02/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