Trouble installing the mySQL drivers
Hello, Previously I had no problems installing the MySQL-python and mySQLDA on my RH6.2 but after totally reinstalling everything (now - RH6.2, python 2.1, mySQL 3.23.37, mySQL-python-3.0.5.1, mySQLDA 2.0.6) all compiled from sources... I get: Import Traceback Traceback (most recent call last): File "/usr/local/zope/lib/python/OFS/Application.py", line 528, in import_products product=__import__(pname, global_dict, global_dict, silly) File "/usr/local/zope/lib/python/Products/ZMySQLDA/__init__.py", line 91, in ? import DA File "/usr/local/zope/lib/python/Products/ZMySQLDA/DA.py", line 91, in ? from db import DB File "/usr/local/zope/lib/python/Products/ZMySQLDA/db.py", line 89, in ? import _mysql ImportError: libmysqlclient.so.10: cannot open shared object file: No such file or directory indicating that the _mysql module couldn't locate the libmysqlclient.so.10 am I right??? What should has gone wrong? Please help as I am to put this server in production really soon. :-) ******************************************************** * Jakub Kasprzycki - jkasprzycki@czestochowa.um.gov.pl * * Urz±d Miasta Czêstochowy - www.czestochowa.um.gov.pl * ********************************************************
On Mon, 4 Jun 2001, Jakub Kasprzycki wrote:
ImportError: libmysqlclient.so.10: cannot open shared object file: No such file or directory
_mysql.so is linked against the shared libmysqlclient library, but this library is not on your standard loader path. Either modify your loader path (LD_LIBRARY_PATH) to include that directory, or recompile using the static library. -- Andy Dustman PGP: 0xC72F3F1D @ .net http://dustman.net/andy "I'd rather listen to Newton than to Mundie. He may have been dead for almost three hundred years, but despite that he stinks up the room less." -- Linus T.
participants (2)
-
Andy Dustman -
Jakub Kasprzycki