List:MySQL++« Previous MessageNext Message »
From:Alex Date:July 29 2008 9:53am
Subject:Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'"
View as plain text  
I actually did read that part of the documentation, but I guess I
misunderstood it. =X

But, does it actually apply at this point? -- awi_config is not an array
that has anything to do with SQL.
2008/7/28 Warren Young <mysqlpp@stripped>

> 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?)
>
>
>
> --
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe:
> http://lists.mysql.com/plusplus?unsub=1
>
>


-- 
GamerzWoW - http://www.gamerzwow.net

Thread
"undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'"Alex24 Jul
  • Re: "undefined reference to `mysqlpp::Connection::connect(char const*,char const*, char const*, char const*, unsigned int)'"Warren Young24 Jul
    • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'"Alex25 Jul
      • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'"Warren Young26 Jul
Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'"Warren Young26 Jul
Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'"Alex27 Jul
  • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'"Warren Young27 Jul
Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'"Alex27 Jul
  • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'"Warren Young28 Jul
    • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'"Alex28 Jul
      • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'"Warren Young28 Jul
        • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'"Alex28 Jul
          • Re: "undefined reference to `mysqlpp::Connection::connect(char const*,char const*, char const*, char const*, unsigned int)'"Warren Young28 Jul
            • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'"Alex29 Jul
              • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'"Warren Young29 Jul
                • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'"Alex29 Jul
                  • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'"Warren Young29 Jul
                    • Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'"Alex29 Jul