Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Sep 2005 20:02:13 +0400
From:      Yuri Ryazantsev <yuri@unix.ru>
To:        freebsd-ports@freebsd.org
Subject:   Re: problem with PL/python on postgresql-8.0
Message-ID:  <20050929200213.5538e3b5.yuri@unix.ru>
In-Reply-To: <433C0E7E.50409@criticalmagic.com>
References:  <433C0E7E.50409@criticalmagic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 29 Sep 2005 11:55:42 -0400 Richard Coleman
<rcoleman@criticalmagic.com> 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 <yuri@unix.ru>    | RIPE: YR1-RIPE
UNIX System Network Administrator | RIPN: YAR1-RIPN

Gnu PGP:  1024D/92165F61
   9252 80C7 D693 BFFD 3C4D 01D2 3601 9CD7 9216 5F61





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050929200213.5538e3b5.yuri>