[Zope] broken ZMySQLDA
Art Hampton
arth@pacsg.css.mot.com
Tue, 25 Jan 2000 11:23:20 -0600
Ragnar Beer wrote:
>
> I just installed the new Zope version and got a broken ZMySQLDA.
> There is an import error: No module named _mysql. Shoot! I remember I
> already solved that problem for my last installation but didn't write
> down how. Who can help?
Your LD_LIBRARY_PATH (or equivalent depending on what you're running on)
is probably wrong.
I've modified our "start" script to add the lines:
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/mysql:/usr/local/include/mysql
export LD_LIBRARY_PATH
You might consider doing the same. Obviously,
/usr/local/(lib|include)/mysql may not be where you installed yours....
And then consider documenting what you did, and saving that somewhere,
or you'll do it again (I know...).