I am trying to build mysql++, I am doing something wrong but I don't know what.
I have downloaded and untar'd ungzipped mysql++-1.7.8.tar.gz into mysql++-1.7.8, run 
configure and then make, make install. I set my LD_LIBRARY_PATH to include the new 
library and then I try to run the resetdb program in the examples directory and it 
dies w/ Segmentation fault (core dumped).

It seemed to "make" correctly.

The version of mysql I am running is 3.23.33, freshly built and installed. This is a 
Redhat 7.0 i386, I have not had any problems building other applications so I don't 
think my compiler installation is to blame.

Here's what I tried. I found the lt-resetdb program and ran gdb lt-resetdb core and 
got:

GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `./lt-resetdb'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from 
/home/quinn/decomp/mysql++-1.7.8/sqlplusint/.libs/libsqlplus.so.1...done.
Loaded symbols for /home/quinn/decomp/mysql++-1.7.8/sqlplusint/.libs/libsqlplus.so.1
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/local/mysql/lib/mysql/libmysqlclient.so.10...done.
Loaded symbols for /usr/local/mysql/lib/mysql/libmysqlclient.so.10
Reading symbols from /usr/lib/libstdc++-libc6.2-2.so.3...done.
Loaded symbols for /usr/lib/libstdc++-libc6.2-2.so.3
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0  chunk_free (ar_ptr=0x464c457f, p=0x40057198) at malloc.c:3071
3071    malloc.c: No such file or directory.

I stepped through untill I got a SIGSEGV :

90              if (mysql_real_connect(&mysql,host,user,passwd,db, 3306,NULL,0)) {
(gdb) 

Program received signal SIGSEGV, Segmentation fault.
chunk_free (ar_ptr=0x464c457f, p=0x40057198) at malloc.c:3071
3071    malloc.c: No such file or directory.
Current language:  auto; currently c

I don't know what to make of this output, does anyone on this list recognize what's 
going on?
I don't know what to make of this output. 

Quinn Wilson - [EMAIL PROTECTED] - Lunkee cc Lunky do{;}
 - "For a list of the ways which technology has failed to improve our quality of life, 
press 3."

Reply via email to