[Zope] ZMySQLDA error

Andy Dustman adustman@comstar.net
Tue, 12 Oct 1999 11:46:05 -0400 (EDT)


On Tue, 12 Oct 1999, Slaets, Maarten wrote:

> the file 'libmysqlclient.so.6' does exist, in /usr/local/lib/mysql.
> do I need to put it in an environment variable? and how do I do this if I
> run Zope with PCGI?

Another possible solution is to relink _mysql against the static
libmysqlclient.a. To do this, you need to edit the Setup.in which comes
with MySQLdb and add modify the flags so that it uses the static library.
Then you don't need to worry about libmysqlclient.so being on your load
path. Be sure to rm Setup before rebuilding.

If you don't already know, there is a new release (as of last night) of
MySQLdb (version 0.1.1). You can get it at:

http://starship.python.net/crew/adustman

-- 
andy dustman       |     programmer/analyst     |      comstar.net, inc.
telephone: 770.485.6025 / 706.549.7689 | icq: 32922760 | pgp: 0xc72f3f1d