From: Kincaid, L. <lw...@sa...> - 2005-02-07 21:11:28
|
Hi Folks- I know there's probably an easy answer to this question but it's not coming to me so I thought I'd ask for help. I think I've successfully built and installed the pyPgSQL module and I know for sure libpq is installed and working because I've used it in a small C program interfacing with my PostgreSQL database. However, in my Python code, the line "from pyPgSQL import PgSQL" causes an error "ImportError: /usr/lib/python2.3/site-packages/pyPgSQL/libpq/libpqmodule.so: undefined symbol: lo_export". =20 Any ideas? This is on a PC running Linux Fedora Core 2, Python 2.3 and PostgreSQL 7.3.4. I can always call the C program from Python and that works fairly well but at this point I'm exploring options. Plus, to be honest, it's a little annoying that one way works and the other doesn't so now I'm curious as to why. Any help, thoughts or suggestions would be greatly welcomed. - larry Larry Kincaid Sandia National Laboratories lw...@sa... (505) 845-0125 |