From owner-freebsd-ports@FreeBSD.ORG Thu Sep 29 16:02:18 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E90916A41F for ; Thu, 29 Sep 2005 16:02:18 +0000 (GMT) (envelope-from yuri@unix.ru) Received: from mail.ehouse.ru (village.ehouse.ru [193.111.92.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AF1D43D48 for ; Thu, 29 Sep 2005 16:02:17 +0000 (GMT) (envelope-from yuri@unix.ru) Received: from [193.111.92.99] (helo=swordfish) by mail.ehouse.ru with smtp (Exim 3.22) id 1EL0rQ-0002Rc-00 for freebsd-ports@freebsd.org; Thu, 29 Sep 2005 20:02:16 +0400 Date: Thu, 29 Sep 2005 20:02:13 +0400 From: Yuri Ryazantsev To: freebsd-ports@freebsd.org Message-Id: <20050929200213.5538e3b5.yuri@unix.ru> In-Reply-To: <433C0E7E.50409@criticalmagic.com> References: <433C0E7E.50409@criticalmagic.com> X-Mailer: Sylpheed version 2.0.1 (GTK+ 2.6.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: problem with PL/python on postgresql-8.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2005 16:02:18 -0000 On Thu, 29 Sep 2005 11:55:42 -0400 Richard Coleman wrote: > I am trying to get PL/python working on postgresql-8.0. I'm using > the default build for all the ports, with the exception that I've > turned on threads in Python. When I try to add plpythonu to a > database using createlang, I get the following error: > > createlang: language installation failed: ERROR: could not load > library "/usr/local/lib/postgresql/plpython.so": dlopen > '/usr/local/lib/postgresql/plpython.so' failed. > (/usr/local/lib/python2.4/config/libpython2.4.so: Undefined symbol > "pthread_attr_destroy") > > Here is my current setup: > 1. postgresql-plpython-8.0.3 > 2. postgresql-server-8.0.3 > 3. python-2.4.1_3 > 4. FreeBSD 5-stable (src tree from about a month ago) > 5. ports tree was from about a week ago > > Anyone have suggestions? Try add few lines in /etc/libmap.conf: libpthread.so.1 libpthread.so.1 # Everything uses 'libpthread' libpthread.so libpthread.so libc_r.so.5 libpthread.so.1 # Everything that uses 'libc_r' libc_r.so libpthread.so # now uses 'libpthread' > > Richard Coleman > rcoleman@criticalmagic.com > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to > "freebsd-ports-unsubscribe@freebsd.org" > > -- Yuri Ryazantsev | RIPE: YR1-RIPE UNIX System Network Administrator | RIPN: YAR1-RIPN Gnu PGP: 1024D/92165F61 9252 80C7 D693 BFFD 3C4D 01D2 3601 9CD7 9216 5F61