|
AW: MySQL++ hates me: msg#00049db.mysql.c++
Hi, ok you have to install both mysql and mysql++. you need #include <sqlplus.h> in your sourcecode. then: g++ file.c -o file -lm -lmysqlclient -lsqlplus and if you havent installed in the default_folder -I/usr/include/mysql -L/usr/lib/mysql too. if /usr/include and /usr/lib are your inlcude and lib paths. AFAIK there are problems with g++ 3.x too. SD wrote> Hi all, How should i compile a simple MySQL++ file? I tried to compile "simple1.cc" file provided in the examples directory in "mysql++-1.7.9". But i failed. All the "*.hh" files that will be created when you do "make install" are there in "mysql++-1.7.9/MYLIB/lib" and "mysql++-1.7.9/MYLIB/include" ("instead of /usr/local/lib" or "/usr/local/include"). Could anyone please help? I even tried to run the compiled version of "simple1.cc" (present in mysql++-1.7.9/examples). But it said : ************************************************* ld.so.1: simple1: fatal: libmysqlclient.so.10: open failed: No such file or directory Killed ************************************************** Best regards and thanks in advance, Shravan Kumar Durvasula __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <mysql-thread120111@xxxxxxxxxxxxxxx> To unsubscribe, e-mail <mysql-unsubscribe-thorsten.viel=gmx.de@xxxxxxxxxxxxxxx> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <mysql-thread120143@xxxxxxxxxxxxxxx> To unsubscribe, e-mail <mysql-unsubscribe-gcdmg-mysql=m.gmane.org@xxxxxxxxxxxxxxx> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: MySQL++ hates me: 00049, Ralf Narozny |
|---|---|
| Next by Date: | Re: Storing BLOB with C++: 00049, Franz Alt |
| Previous by Thread: | Re: MySQL++ hates mei: 00049, Ralf Narozny |
| Next by Thread: | download a BLOB with mysql++: 00049, Franz Alt |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |