Halim Chtourou writes:
> I was able to compile and install the MySQL++ API on my Mac OS X system, 
> however, whenever I try to run a program linked against the library, I 
> get undefined symbol errors.
> 
> dyld: bin/wopsql Undefined symbols:
> __t12basic_string3ZcZt18string_char_traits1ZcZt23__malloc_alloc_template1i0.
> nilRep
> ___iomanip_setw__FR3iosi
> __t23__malloc_alloc_template1i0.__malloc_alloc_oom_handler
> __t24__default_alloc_template2b0i0._S_end_free
> __t24__default_alloc_template2b0i0._S_free_list
> __t24__default_alloc_template2b0i0._S_heap_size
> __t24__default_alloc_template2b0i0._S_start_free
> __t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i0.
> nilRep
> 
> Seems like a similar problem as described in the post: 
> http://www.geocrawler.com/archives/3/362/1999/5/50/1804413/
> However, the solution in that post does not produce any different 
> results.
> 
> This even happens for the MySQL++ example programs.
> 
> Anyone have any suggestions? I'd really really like to be able to use 
> this in a project I'm working on, but MySQL++'s lack of portability 
> seems rather insane.  Tons of patching required to just get it working 
> on minor gcc version increments.  Is this inflexibility due to the 
> design of MySQL++, design of GNU's STL, or all both?
> 
> -Halim Chtourou
> 

Hi!

First of all, every new version of GNU compiler has it's own STL
library and it's own set of quirks !!

MySQL++ can not do anything about it!

You could try uisng GCC 3.0 , for which you will find patch on MySQL++
page. May be 3.0 has  lesser problems in porting.

Regarding the above symbols they look to me like normal STL
symbols. Check out which library you have to add to linker command.

What GNU version did you use anyway ??

-- 
Regards,
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, FullTime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
       <___/   www.mysql.com

---------------------------------------------------------------------
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

Reply via email to