>libmysqlclient.so.10: cannot open shared object file: No such file or >directory
I had to make a symbolic link for /usr/lib/libmysqlclient.so.10 to link to /usr/local/mysql/lib/mysql/libmysqlclient.so.10 >I am guessing because there is no mysql database called vpopmail ??? No, but you do need to make a vpopmail database. >Why has no database been created ? Although vpopmail doesn't create the database, it does automatically create the tables. You'll need to make the database yourself. Just run these commands in mysql... this is just a basic template, all the values can be changed, but should reflect what you specified in vmysql.h CREATE DATABASE vpopmail; GRANT ALL PRIVILEGES ON vpopmail.* TO 'someuser'@'localhost' IDENTIFIED BY 'somepass'; FLUSH PRIVILEGES; The argument of whether or not vpopmail should create the database has been thrown back and forth quite a bit. Check the archives to see why and why not. -Clayton -----Original Message----- From: DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 8:24 AM To: [EMAIL PROTECTED] Subject: RE: [vchkpw] Compilgin Vpopmail with Mysql General Questions. Hi Clayton, Thats seems to have put things right. I am guessing the fact that I specified /usr/local/mysql/lib took priority over /etc/ld.conf.so I have now made and make install-strip and all the binarys seem to be in place etc. my new problem is when I do /home/vpopmail/bin/vadddomain test I get /home/vpopmail/bin/vadddomain: error while loading shared libraries: libmysqlclient.so.10: cannot open shared object file: No such file or directory I am guessing because there is no mysql database called vpopmail ??? Why has no database been created ? Also instead of troubling the list with these question that seem quite simple is there a good source of info on how to set this up. the README.mysql seems to "suggest" that the database should already be built. thanks, Matt. -----Original Message----- From: Clayton Weise [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 4:13 PM To: [EMAIL PROTECTED] Subject: RE: [vchkpw] Compilgin Vpopmail with Mysql General Questions. If you installed mysql from source then your include files are in /usr/local/mysql/include/mysql not /usr/local/mysql/include. Same with the libraries. -Clayton