Re: libpython - cannot open shared object file
От | Tom Wilcox |
---|---|
Тема | Re: libpython - cannot open shared object file |
Дата | |
Msg-id | 4C21CB4B.2010400@gmail.com обсуждение исходный текст |
Ответ на | Re: libpython - cannot open shared object file (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: libpython - cannot open shared object file
|
Список | pgsql-general |
Hi, I have not used python2.3 on this machine at all (to my knowledge). It is a fresh install of the latest Ubuntu 64 which comes with Python 2.6 and 3.1. The build I want to run is the 64-bit PostgreSQL download for Linux x86-64 from Entreprise DB (http://www.enterprisedb.com/products/pgdownload.do) as I don't know how else to ensure that the build I am installing is a 64-bit version of PostgreSQL (I want to use >4GB of RAM in one session). Is the best way to ensure compatibility for me to build from source? Cheers, Tom On 23/06/2010 03:14, Tom Lane wrote: > Adrian Klaver<adrian.klaver@gmail.com> writes: > >> On 06/22/2010 09:52 AM, Tom Wilcox wrote: >> >>> ERROR: could not load library >>> "/opt/PostgreSQL/8.4/lib/postgresql/plpython.so": libpython2.3.so.1.0: >>> cannot open shared object file: No such file or directory >>> > >>> I have python2.6 installed. >>> > >> It seems pl/python is compiled against Python 2.3. Have you been running >> Python 2.3? >> > Yeah. You need to either install python 2.3, or rebuild postgresql > against python 2.6. Shortcuts like making symlinks are not likely to > work. > > regards, tom lane >
В списке pgsql-general по дате отправления: