Re: [Zope] compile ZPoPyDA product problems (continued)

2000-08-04 Thread Stephen Nosal
> > So it looks like PoPy isn't even looking for libpq. > > Agreed. Something is definately wrong with the build! > You might want to try a hand build. My makefile generated this: > > gcc -fPIC -g -O2 -I/usr/include/python1.5 -I/usr/lib/python1.5/config -DHAVE_CO > NFIG_H=1 -DHAVE_POSTGRESQL

Re: [Zope] compile ZPoPyDA product problems (continued)

2000-08-04 Thread Stephen Nosal
> Sorry, but I had one guy complain about PoPY, and psql did not even run! > He was connecting to a very old pg on a sun with a recent libpg on Linux. > > What does ldd psql say? > Crap, mine is statically linked. > > OK, what is ldd /whatever_the_path_is/PoPy_...? > root@fastclose:~ > ldd /usr

Re: [Zope] compile ZPoPyDA product problems (continued)

2000-08-04 Thread Stephen Nosal
On Fri, 04 August 2000, [EMAIL PROTECTED] wrote: > > On Fri, Aug 04, 2000 at 11:42:38AM -0700, Stephen Nosal wrote: > OK, to start another line entirely-- > does psql work? Sure does - no problems at all. Even have a database up and running with users... - Steve

Re: [Zope] compile ZPoPyDA product problems (continued)

2000-08-04 Thread Stephen Nosal
> > > Exactly what message are you getting now? > > > > I'm still getting the same error: At the python interactive prompt, the command >import PoPy results in the following: ImportError: >/usr/lib/python1.5/site-packages/PoPymodule.so: undefined symbol: PQfsize > > > > Any additional help wou

Re: [Zope] compile ZPoPyDA product problems (continued)

2000-08-04 Thread Stephen Nosal
> > Maybe I wasn't clear - my lib directory has the same links and files as yours (my >libpq.a is smaller than yours). It's just that ldconfig -v gives me > > > > /opt/pgsql/lib: > > libpq.so.2.1 -> libpq.so.2.1 > > OK, so does mine > libpq.so.2.1 => libpq.so.2.1, > so not. > > Exactly

Re: [Zope] compile ZPoPyDA product problems (continued)

2000-08-02 Thread Stephen Nosal
On Wed, 02 August 2000, [EMAIL PROTECTED] wrote: > > On Wed, Aug 02, 2000 at 08:51:14AM -0700, Stephen Nosal wrote: > > Alright, slowly but surely. I've checked out ld.so.conf and the libraries appear >to be setup correctly. > > > > The output of ldconfig -v shows (among other things): > > >

Re: [Zope] compile ZPoPyDA product problems (continued)

2000-08-02 Thread Stephen Nosal
Alright, slowly but surely. I've checked out ld.so.conf and the libraries appear to be setup correctly. The output of ldconfig -v shows (among other things): /opt/pgsql/lib: libpq.so.2.1 -> libpq.so.2.1 * There is no entry for the generic libpq.so * libpq.so is a link to libpq.so.2.1 Is

Re: [Zope] compile ZPoPyDA product problems

2000-08-01 Thread Stephen Nosal
Well, I'm getting somewhere. The make and make install on the PoPymodule completed with no errors, but now in python the import PoPy returns the following: Traceback (innermost last): File "", line 1, in ? ImportError: /usr/lib/python1.5/site-packages/PoPymodule.so: undefined symbol: PQfsize

Re: [Zope] compile ZPoPyDA product problems

2000-08-01 Thread Patrick Lewis
On Tue, Aug 01, 2000 at 10:54:50AM -0700, Stephen Nosal wrote: > Folks - > > I could use a hand here - I'm trying to compile the PoPy module for python so I can >use the ZPoPyDA to connect to my PostgreSQL database. > > I keep getting the same compile error - > > gcc - shared PoPymodule.o -lpq