----- Original Message -----
From: "Sinisa Milivojevic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, March 04, 2001 7:32 AM
Subject: Re: Problems building mysql++
> Quinn Wilson writes:
> > 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."
> >
>
> Hi!
>
> I need more info in order to be able to help you :
>
> - What OS it is and which version it is
Linux - Redhat - 7.0 - 2.2.16-22 kernel
> - What is a version of C Library
libc6.2-2
> - What compiler it is and what version of compiler
gcc - 2.96
> - What version of STL libraries and MySQL client libraries did you use
libstdc++-libc6.2-2
mysql version = 3.23.33,
mysql++ version = 1.7.8
>
>
>
> Regards,
>
> Sinisa
>
> ____ __ _____ _____ ___ == MySQL AB
> /*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic
> /*/ /*/ /*/ \*\_ |*| |*||*| mailto:[EMAIL PROTECTED]
> /*/ /*/ /*/\*\/*/ \*\|*| |*||*| Larnaca, Cyprus
> /*/ /*/ /*/\*\_/*/ \*\_/*/ |*|____
> ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
> /*/ \*\ Developers Team
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php