On Wed, Mar 09, 2005 at 05:25:45PM -0800, Marco Turchi wrote:
> >Do you have a backtrace? If using bash:
> > export LD_LIBRARY_PATH=/path/to/mysql++/tarball/lib/.libs
> > ulimit -c unlimited
> > examples/.libs/resetdb
> > gdb examples/.libs/resetdb core
> > > bt
> I've used you command, but I've these results, that, I suppose, are not
> Core was generated by `.libs/resetdb'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/local/lib/libmysqlpp.so.4...done.
> Loaded symbols for /usr/local/lib/libmysqlpp.so.4
I'm not sure if core dump files save the libraries they were run with...
would make sense if they did. If this is so, it is still using the
lib from /usr/local/lib instead of the one you compiled with.
This could explain why there is no info in the backtrace (stripped libs?).
You may need to delete the core files, make sure LD_LIBRARY_PATH is set,
and run resetdb again to make a new core dump.
> then I have seen that I'm using the version 1.7.30, it's a problem?
1.7.30 should be fine.