1 Jul 2003 12:43
Zope & psycopg: ImportError: libpq.so.3: cannot open shared object file: No such file or directory
hello,
I am trying to use psycopg with Zope 2.6.1 on redhat 8.0 (psyche).
I followed the install psycopg instrucions:
I ran the psycopg configure file with (all in one line):
./configure --with-python=/usr/local/zopeservers/zope_dev02/bin/python
--with-zope=/usr/local/zopeservers/zope_dev02
--with-mxdatetime-includes=/usr/local/zopeservers/zope_dev02/lib/python2.1/site-packages/mx/DateTime/mxDateTime
--with-postgres-libraries=/usr/local/pgsql/lib --with-postgres-includes=/usr/local/pgsql/include
Then, I ran:
make
make install
make install-zope
Everything seems to work fine so far. I have a ZPsycopgDA product in <$Zope_HOME>/lib/python/Products
and I also copied the file "psycopgmodule.so" to $ZOPE_HOME/lib/python2.1/lib-dynload/.
.
Now, when I start the zope server, I get the following ecxeption:
Traceback:
"""
[nico <at> localhost zope_dev02]$ ./start &
[1] 25865
[nico <at> localhost zope_dev02]$ ------
2003-07-01T12:24:41 INFO(0) zdaemon Started subprocess: pid 25868
------
(Continue reading)
RSS Feed