Alex wrote:
>> Why is it installed twice?
>
> No idea. I have this:
>
> /usr/lib/libmysqlpp.so.2
> /usr/lib/libmysqlpp.so.3
> /usr/lib/libmysqlpp.so.3.0.4
> /usr/lib/libmysqlpp.so.2.0.7
> /usr/local/lib/libmysqlpp.so
> /usr/local/lib/libmysqlpp.so.3
> /usr/local/lib/libmysqlpp.so.3.0.4
> Even after aptitude remove libmysql++-dev and aptitude purge libmysql++-dev.
>
> As for ldconfig:
>
> GamerzWoW /home/mangos/src: ldconfig --format=new
> ldconfig: /usr/lib/libmysqlpp.so.3 is not a symbolic link
Go into the MySQL++ source directory. As root, say "make uninstall".
Then, remove all remaining MySQL++ files by hand; the uninstaller
certainly won't find all of these. It will perhaps find more than
you're aware of, however, so it's a good first step.
Then, reinstall. All MySQL++ files installed should be under
/usr/local, unless you've given --prefix to the configure script.
>> if(awi_config[0][3] == null){
[snip]
>> string awi_config[10][10];
mysqlpp::null is not equal to *any* std::string. It would make no sense
to give mysqlpp::Null<T> an operator== for std::string. Read this to
learn why:
http://tangentsoft.net/mysql++/doc/html/userman/tutorial.html#sql-null
(So, how many times is it now that I've referred you to the documentation?)
| Thread |
|---|
| • "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'" | Alex | 24 Jul |
| • Re: "undefined reference to `mysqlpp::Connection::connect(char const*,char const*, char const*, char const*, unsigned int)'" | Warren Young | 24 Jul |
| • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'" | Alex | 25 Jul |
| • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'" | Warren Young | 26 Jul |
| • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'" | Warren Young | 26 Jul |
| • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'" | Alex | 27 Jul |
| • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'" | Warren Young | 27 Jul |
| • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'" | Alex | 27 Jul |
| • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'" | Warren Young | 28 Jul |
| • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'" | Alex | 28 Jul |
| • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'" | Warren Young | 28 Jul |
| • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'" | Alex | 28 Jul |
| • Re: "undefined reference to `mysqlpp::Connection::connect(char const*,char const*, char const*, char const*, unsigned int)'" | Warren Young | 28 Jul |
| • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'" | Alex | 29 Jul |
| • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'" | Warren Young | 29 Jul |
| • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'" | Alex | 29 Jul |
| • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'" | Warren Young | 29 Jul |
| • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'" | Alex | 29 Jul |