Re: MySQLdb Install Linux Not Working (SOLVED)
Hi,
I had the same problem.
I simply solved it in this way:
1) I set the enviroment variable LD_LIBRARY_PATH for the user that builds MySQLdb and executes Zope (the user is "plone")
export LD_LIBRARY_PATH=/opt/MySql5/lib/mysql
2)In site.cfg I put:
[options]
embedded = False
threadsafe = False
static = False
3) python setup.py build
4) python setup.py install
5) Now it works well and Zope starts without problems:
>>> import _mysql
>>>
Obviously the python used to build and install MySQLdb must be the same that executes Zope.
Thank you to your suggestions.
Claudio Battaglino
Subject
Written By
Posted
Re: MySQLdb Install Linux Not Working (SOLVED)
February 19, 2008 03:45AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.