Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

problems compiling on osx: msg#00063

db.mysql.c++

Subject: problems compiling on osx

i'm getting linker errors when running the examples on osx 10.3.9

i'm pretty new to this, so let me go through exactly what i did.

first, i downloaded the mysql-dev package using fink and made the mysql++ 2.0.7 source from the mysql++ site, being sure to point the configure script to the location of the c api files:

./configure --with-mysql=/sw
make
sudo make install

everything compiled and linked without errors, but when i executed any of the examples i got linker errors (see below for the exact errors).

the version of the mysql-dev package on fink was 3.23.58, so i thought this might be out of date since our server is using 4.0. server uses a distrib of mysql from eSuite, so i got the developer files directly from the server machine and put them in the proper directory on my machine. then i tried again:

./configure --with-mysql=/Library/eSuite4X/MySQL4/Developer
make
sudo make install

running the examples gave the same linker errors.

any suggestions would be greatly appreciated. sorry for the newb question.

-chad


the linker errors:
----------------------------------------------------------------

dyld: resetdb Undefined symbols:
__ZNKSt11logic_error4whatEv
__ZNSoD0Ev
__ZNSoD1Ev
__ZNSs20_S_empty_rep_storageE
__ZNSs4_Rep11_S_max_sizeE
__ZNSs4_Rep11_S_terminalE
__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_traitsIcESaIcEE
__ZTVSt9basic_iosIcSt11char_traitsIcEE
__ZTv0_n12_NSoD0Ev
__ZTv0_n12_NSoD1Ev
___cxa_pure_virtual
___gxx_personality_v0
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation