List:MySQL++« Previous MessageNext Message »
From:Richard Stelling Date:November 16 2004 3:56pm
Subject:examples problem
View as plain text  
Hi,

My installation of MySQL++ 1.7.21 went fine, but when I came to  
compiling the examples I encountered a problem. I've only tried sample1  
after getting some linker errors I read the FAQ and included the  
mysqlclient lib.

Now I get this error:

ld: /usr/local/mysql/lib/libmysqlclient.a(my_compress.o) illegal  
reference to symbol: _compress defined in indirectly referenced dynamic  
library /usr/lib/libz.1.dylib

I included the libz.1.dylib library, it compiled but when I run the app  
this happens:

[Session started at 2004-11-16 15:54:34 +0000.]
dyld: /Users/richard_stelling/Desktop/sample1/build/sample1 Undefined  
symbols:
__ZNSiD0Ev
__ZNSiD1Ev
__ZNSoD0Ev
__ZNSoD1Ev
__ZNSs20_S_empty_rep_storageE
__ZNSs4_Rep11_S_max_sizeE
__ZNSs4_Rep11_S_terminalE
__ZNSt18basic_stringstreamIcSt11char_traitsIcESaIcEED0Ev
__ZNSt18basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev
__ZNSt24__default_alloc_templateILb1ELi0EE12_S_force_newE
__ZNSt24__default_alloc_templateILb1ELi0EE12_S_free_listE
__ZNSt24__default_alloc_templateILb1ELi0EE22_S_node_allocator_lockE
__ZSt4cerr
__ZSt4cout
__ZSt4endsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
__ZTIa
__ZTId
__ZTIf
__ZTIh
__ZTIi
__ZTIj
__ZTIl
__ZTIm
__ZTIs
__ZTIt
__ZTIv
__ZTIx
__ZTIy
__ZTTSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE
__ZTVN10__cxxabiv117__class_type_infoE
__ZTVN10__cxxabiv120__si_class_type_infoE
__ZTVN10__cxxabiv121__vmi_class_type_infoE
__ZTVSt15basic_streambufIcSt11char_traitsIcEE
__ZTVSt15basic_stringbufIcSt11char_traitsIcESaIcEE
__ZTVSt19basic_ostringstreamIcSt11char_traitsIc__ZTVSt9basic_ios 
IcSt11char_traitsIcEE
__ZThn8_NSt18basic_stringstreamIcSt11char_traitsIcESaIcEED0Ev
__ZThn8_NSt18basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev
__ZTv0_n12_NSiD0Ev
__ZTv0_n12_NSiD1Ev
__ZTv0_n12_NSoD0Ev
__ZTv0_n12_NSoD1Ev
__ZTv0_n12_NSt18basic_stringstreamIcSt11char_traitsIcESaIcEED0Ev
__ZTv0_n12_NSt18basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev
___cxa_pure_virtual
___gxx_personality_v0

Executable “sample1” has exited due to signal 5 (SIGTRAP).

Any ideas?

Rich
Thread
Result constructorcgifalco10 Nov
  • Re: Result constructorcgifalco10 Nov
  • Re: Result constructorChris Frey11 Nov
    • Re: Result constructorcgifalco11 Nov
    • Re: Result constructorWarren Young11 Nov
      • examples problemRichard Stelling16 Nov
        • Re: examples problemWarren Young16 Nov
          • Re: examples problemRichard Stelling16 Nov
Re: Result constructorWarren Young16 Nov