On Wed, 8 Mar 2000, Eric L. Walstad wrote:
Hi Chris (Carlson), Thanks for the reply!
1. I added the following line to my /etc/ld.so.conf file: /usr/local/lib/mysql 2. I ran 'ldconfig' 3. I re-ran build.py. Here is the new error message. (notice that the last line changed from before): Traceback (innermost last): File "build.py", line 14, in ? import MySQLdb File "MySQLdb.py", line 19, in ? from _mysql inport * ImportError: ./_mysqlmodule.so: undefined symbol: Py_InitModule3
Note that the file '_mysqlmodule.so' is in the '/usr/local/Zope/lib/python/Products/MySQLdb-0.1.2' directory
4. I tried adding '/usr/local/Zope/lib/python/Products/MySQLdb-0.1.2' to my /etc/ld.so.conf file, re-running ldconfig, then re-running build.py, but I got the same error.
It seems like we are getting a little closer! Any more guidance would sure be appreciated!
That is a very peculiar error. Py_InitModule3 is a symbol from Python itself, so if that's missing, I don't know what's wrong. Well, I can guess a little, and my guess is, while you have Python installed, you don't have the development libraries. With RedHat, this is python-devel, but may be something else with Caldera. Actually, Py_InitModule3 is a macro in Python.h, so if it's looking for that, then Python.h is probably not being found, which could mean that the -I flag in Setup (or Setup.in) is not right for your environment. But you would have all kinds of build errors, I would think. Try this: find /usr/include -name Python.h -print If nothing comes up, then the development stuff isn't installed, or it's installed somewhere else. -- andy dustman | programmer/analyst | comstar.net, inc. telephone: 770.485.6025 / 706.549.7689 | icq: 32922760 | pgp: 0xc72f3f1d "Therefore, sweet knights, if you may doubt your strength or courage, come no further, for death awaits you all, with nasty, big, pointy teeth!"