List:General Discussion« Previous MessageNext Message »
From:Thimble Smith Date:March 7 2000 6:22pm
Subject:Re: segmentation fault with mysql++
View as plain text  
On Tue, Mar 07, 2000 at 07:43:10PM +0200, Uri Even-Chen wrote:
>Sinisa,
>
>1. This issue is so complicated. I talked to a Linux expert today, and
>he said that installing GCC from a tar.gz file (we downloaded
>gcc-2.95.2.tar.gz) is a big headache. do you know if & where I can find
>RPM files for installing gcc 2.95.2, and also the relevant libstdc++
>files? my system is a standard red hat linux 6.1 (for i686), which came
>together with GCC too. what is the reason why this version of GCC &
>libstdc++ can't work together with mySQL++?

You can find lots of RPMs at http://rpmfind.net/linux/RPM/.  I'm
not sure exactly which one you need, but I think this RPM should
work for you:

http://rpmfind.net/linux/RPM/rawhide/1.0/i386/RedHat/RPMS/gcc-c++-2.95.2-3.i386.html

>2. if not, is it possible to work with mySQL using only C API (not C++)?
>if so, how do I install & use the C API for mySQL? it's very important
>for me to use mySQL, and I have spent so many hours & money to try to
>make it work. it's still not working, and I want to start using it as
>soon as possible.

Yes, you can use the C API; it will probably be easier to get working
with your compiler tools, since C++ has been changing much more than
C.  You can look at the example programs in the client/ directory of
the MySQL source distribution.  They show how to connect, insert,
select, etc.  Look especially at insert_test.c and select_test.c.

Tim
-- 
Tim Smith   < tim@stripped >  :MySQL Development Team:  Boone, NC  USA.
Thread
help with MySQL setupUri Even-Chen15 Feb
  • Re: help with MySQL setupsinisa15 Feb
    • Re: help with MySQL setupUri Even-Chen2 Mar
      • Re: help with MySQL setupsinisa3 Mar
    • still problems with mysql++Uri Even-Chen2 Mar
      • Re: still problems with mysql++Thimble Smith3 Mar
    • Re: help with MySQL setupTonu Samuel3 Mar
    • Re: still problems with mysql++Tonu Samuel3 Mar
    • Re: still problems with mysql++Uri Even-Chen3 Mar
    • Re: still problems with mysql++Tonu Samuel3 Mar
    • Re: another bug report with mysql++Uri Even-Chen5 Mar
      • Re: another bug report with mysql++sinisa5 Mar
        • Re: segmentation fault with mysql++Uri Even-Chen5 Mar
          • Re: segmentation fault with mysql++sinisa6 Mar
        • Re: segmentation fault with mysql++Uri Even-Chen7 Mar
          • Re: segmentation fault with mysql++Thimble Smith7 Mar
  • Re: help with MySQL setupUri Even-Chen1 Mar
  • Re: help with MySQL setupTonu Samuel1 Mar
  • Re: help with MySQL setupUri Even-Chen2 Mar
    • Re: help with MySQL setupsinisa2 Mar
    • Re: help with MySQL setupThimble Smith2 Mar
  • Re: help with MySQL setupUri Even-Chen2 Mar
    • Re: help with MySQL setupsinisa2 Mar