List:MySQL++« Previous MessageNext Message »
From:Alex Date:July 29 2008 10:51am
Subject:Re: "undefined reference to `mysqlpp::Connection::connect(char const*, char const*, char const*, char const*, unsigned int)'"
View as plain text  
Ohhh, I get it then. >_<

And.. Sorry for messaging you directly once more.. Damn Gmail.

My program now compiles. However, when I try to start it:

./bin/AWIWorldServer: error while loading shared libraries: libmysqlpp.so.3:
cannot open shared object file: No such file or directory

Which is weird, because:

/usr/src/mysql++-3.0.4/libmysqlpp.so
/usr/src/mysql++-3.0.4/libmysqlpp.so.3
/usr/src/mysql++-3.0.4/libmysqlpp.so.3.0.4
/usr/src/mysql++-3.0.4/libmysqlpp_excommon.a
/usr/local/lib/libmysqlpp.so
/usr/local/lib/libmysqlpp.so.3
/usr/local/lib/libmysqlpp.so.3.0.4
Any ideas? =X I might've forgotten something along the lines..

2008/7/29 Warren Young <mysqlpp@stripped>

> On Jul 29, 2008, at 3:53 AM, Alex wrote:
>
> But, does it actually apply at this point? -- awi_config is not an array
>> that has anything to do with SQL.
>>
>
> So...why are you trying to compare one of its elements to a SQL null, then?
>
> If you store data from a SQL query in this array, and any of the values can
> be SQL null, you want to declare it like this:
>
> mysqlpp::Null<std::string> awi_config[10][10].
>
> *Then* you can compare its elements to mysqlpp::null.
>
>
> --
> 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