[Zope] compile ZPoPyDA product problems (continued)

Stephen Nosal stephennosal@e3mil.com
4 Aug 2000 13:09:47 -0700


> 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/lib/python1.5/site-packages/PoPymodule.so 
	libc.so.6 => /lib/libc.so.6 (0x40010000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

and

root@fastclose:~ > ldd /opt/pgsql/bin/psql 
	libpq.so.2.1 => /opt/pgsql/lib/libpq.so.2.1 (0x4001c000)
	libcrypt.so.1 => /lib/libcrypt.so.1 (0x4002a000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x40057000)
	libdl.so.2 => /lib/libdl.so.2 (0x4006e000)
	libm.so.6 => /lib/libm.so.6 (0x40072000)
	libutil.so.1 => /lib/libutil.so.1 (0x4008f000)
	libreadline.so.4.0 => /lib/libreadline.so.4.0 (0x40093000)
	libncurses.so.5 => /lib/libncurses.so.5 (0x400b9000)
	libc.so.6 => /lib/libc.so.6 (0x40102000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

So it looks like PoPy isn't even looking for libpq.

> I am wonderig if PoPy is looking in a particular directory for libpq.
> 
> > 
> > - Steve
> > 
> > 
> > __________________________________________________________________
> > Get your Private, Anti-Spam, Free Email at http://e3mil.com 
> > and Step into a Friendly Universe!
> > 
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists - 
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> > 


__________________________________________________________________
Get your Private, Anti-Spam, Free Email at http://e3mil.com 
and Step into a Friendly Universe!