[newbe] MySQLDA Installation error at MySQLdb build.
Hi David and the rest of the group, Can you believe I am still battling this MySQLDA installation!? ARGH! I hope you can help me out here: According to the HOWTO by alanpog, I've 1. Downloaded MySQLDA 1.1.3 2. Expanded it into my top level Zope Directory (/usr/local/Zope) Note that I did not do any installation here, just expanded it into this directory. 3. Downloaded MySQLdb v0.1.2 4. Expanded MySQLdb into /usr/local/Zope/lib/python/Products 4a. Modified the Setup.in file so that the one uncommented line is: _mysql _mysqlmodule.c -L/usr/local/lib/mysql -I/usr/local/include/mysql -lmysqlclie nt As you mentioned, these point to where my MySQL libraries are. 4b. According to the README file, ran 'python build.py' This is where I am stuck. The build.py script crunches along then bombs with the following error: Traceback (innermost last): File "build.py", line 14, in ? import MySQLdb File "MySQLdb.py", line 19, in ? from _mysql inport * ImportError: libmysqlclient.so.6: cannot open shared object file: no such file or directory" I checked and this file is in my /usr/local/lib/mysql directory. It is a link to libmysqlclient.so.6.0.0. Both files are there; owner=root, group=root. I'm hoping this is a simple fix ;^) Any idea's would be greatly appreciated! Eric. // -----Original Message----- // From: CURTIS David [mailto:David.Curtis@state.or.us] // Sent: Monday, March 06, 2000 8:11 PM // To: IPM Return requested (Receipt notification requested) // Subject: Zope success finally. // Sensitivity: Personal // // // Hi, // // Dump the MySQL 3.23.32 version I could never get it to work. // The Db version 2.3 that I was using was a pre-release and it // was a bomb. // // Ok, I was able to get the thing working using 3.22.27 version // of MySQL and the oMySQLdb 0.1.2. Don't forget to get the Zope // part ZMySQLDA so you can use MySQL in Zope. // // You set the paths where the MySQL libraries are. Basically if // you installed via the RPM method they are in the \usr directory. // If you installed via the source method (BEST) they are where // you specificed when you installed them. Also installing via the // source method gives you all the libraries. Note that you need // python development package if you used the RPM method to // install zope. Best to use source for all installation-I learned // the hard way. // // How can you find out what the paths are? If you have installed // locate on your linux box type // # locate mysql // See where the path is and make the adjustment. // // I hope this helps. // Dave // // David, did you manage to get past the Install MySQLdb step? // // Thanks, // // Eric. // // // _______________________________________________ // Zope maillist - Zope@zope.org // http://lists.zope.org/mailman/listinfo/zope // ** No cross posts or HTML encoding! ** // (Related lists - // http://lists.zope.org/mailman/listinfo/zope-announce // http://lists.zope.org/mailman/listinfo/zope-dev ) // // // // // // // // // // // // // // // // // ! // // // // // // // // // // // // // // // // ! // //
participants (1)
-
Eric L. Walstad