Postgresql + Python

Palle Girgensohn girgen at pingpong.net
Tue Nov 27 12:18:21 UTC 2012


It seems that the port does something wrong when installing with python 3. I'll have to check it out. 

27 nov 2012 kl. 12:30 skrev Rafael Espíndola <rafaelespindola at live.com>:

> My problem is this:
> 
> ERROR: could not access file "$ libdir/plpython3": No such file or directory
> STATEMENT: CREATE LANGUAGE "plpython3u";
> 
> With the library "plpythonu" and "plpython2u", this does not happen!
> 
> --
> Rafael da Silva Espíndola
> Espíndola Segurança da Informação
> http://www.espindolasi.com.br
> (48) 3624-1217
> (48) 9976-3015
> 
> Em 27/11/2012, às 09:14, Palle Girgensohn <girgen at FreeBSD.org> escreveu:
> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> 
>> And do you have anything relevant in /etc/make.conf?
>> 
>> Palle Girgensohn skrev:
>>> Hi,
>>> 
>>> Do you have python3 installed? what happens when you type make -V 
>>> PYTHON_VER in the port's dir?
>>> 
>>> [/usr/ports/databases/postgresql-plpython]$ make -V PYTHON_VER 2.7
>>> 
>>> 
>>> Rafael Espíndola skrev:
>>>> Good morning dear,
>>> 
>>>> I'm having a problem and can not find a solution, if you can help
>>>> me I'll be very grateful. My problem is regarding the installation
>>>> of PostgreSQL with support Python3, I'm doing the installation
>>>> through the ports (databases / postgresql-plpython), but it
>>>> installs PostgreSQL9.0.10 + Python 2.7, so I have only supported
>>>> libraries python2 (plpythonu and plpython2u).
>>> 
>>>> I've tried a few ways to install Python3 with PostgreSQL, but 
>>>> without success, I can not install the library Python3
>>>> (plpython3u). Can you help me, enlighten me?
>>> 
>>>> Thank you!
>>> 
>>>> -- Rafael da Silva Espíndola Espíndola Segurança da Informação 
>>>> http://www.espindolasi.com.br (48) 3624-1217 (48) 9976-3015
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
>> Comment: GPGTools - http://gpgtools.org
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>> 
>> iQEcBAEBAgAGBQJQtKB6AAoJEIhV+7FrxBJD9MwIAJ3bOSth0rngtXYcqSfH5QI/
>> EH4dKwfRLdqMlos8lNIfkb5netCHG5hds5kOwmRmdfY0gXkwG9eWMF9pVZVc0+00
>> fW8F64QvvUBGJ0s1f+uZXCaba9rqEPtAhtfoy7j+5hmfrvoeRual8IJAQeZhYJVL
>> RXa/I0tq2wyXBqR5hktBYawdFVlW1bzyQKv0sDCHHjEt4zjBLb+MI/kRoCT/cpLN
>> O3tD0DpOP1DDToan4QYlePZ/2v8+I8c3xEWEdSIPKbIGZVpz16sLBJsUnfO+uAox
>> Y6it7sMhyFfMlzRNypCukvm3kpYC543gnemw1HzaQ84XvTIWpwpPO8EP9h/U42M=
>> =7FM2
>> -----END PGP SIGNATURE-----
> 


More information about the freebsd-python mailing list