List:General Discussion« Previous MessageNext Message »
From:<sinisa Date:March 2 2000 5:43pm
Subject:Re: help with MySQL setup
View as plain text  
Uri Even-Chen writes:
 > Sinisa,
 > 
 > Thank you for your quick reply. I still can't solve this problem, maybe
 > mySQL is not installed properly? the directory you have mentioned is
 > exactly "/usr/lib/mysql/", where I did mention in my compilation. it
 > contains these files:
 > 
 > libdbug.a  libmerge.a        libmysqlclient.la  libmysys.a
 > libheap.a  libmysqlclient.a  libmystrings.a     libnisam.a
 > 
 > I'm sorry I bother you about this issue, but I've been trying to solve
 > it since the morning. what can be the problem?
 > 
 > Uri.
 > 

HI!

May be your linker has problems. try this  more then explicit command:

g++ -Imysql++ -I/usr/local/include/mysql++ -O3 -o simple1 simple1.cc
-lsqlplus /usr/lib/mysql/libmysqlclient.a

Regards,

Sinisa

+----------------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___     ==  mysql@stripped            |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic          |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:sinisa@stripped     |
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaka, Cyprus             |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                             |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                            |
|             /*/             \*\                Developers Team       |
+----------------------------------------------------------------------+
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