On Wed, Mar 09, 2005 at 11:43:48AM -0800, Marco Turchi wrote:
> hi,
> I'm tying to run the simple1.cc example, I can connect to the database,
> but I have segmentation fault.
> I've compiled the mysql++-1.7.31.tar.gz <releases/mysql++-1.7.31.tar.gz>
> source library on this system:
> gcc 3.2.3
> mysql server 4.0.22
> Red hat enterprise 2.4.21
> All is ok.
> But when I run the example, I obtain "segmentation fault" at the
> following line:
> Result res = query.store();
>
> Please, can you tell me how to solve this problem?
Could you post a backtrace of the core dump? Also, just to be certain,
make sure that there are no other mysqlpp libs. (check
'ldd lib/.libs/resetdb' and see where it's getting the libraries.
- Chris