Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Undefined symbols for architecture x86_64 in MAC OSX 10.10



  • Trying to compile altcoin and i get the folowing error:

    Undefined symbols for architecture x86_64:
    "Dbc::get(Dbt*, Dbt*, unsigned int)", referenced from:
    CDB::ReadAtCursor(Dbc*, CDataStream&, CDataStream&, unsigned int) in db.o
    "Dbc::close()", referenced from:
    CDB::Rewrite(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in db.o
    CTxDB::LoadBlockIndexGuts() in db.o
    CWalletDB::ListAccountCreditDebit(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::list<CAccountingEntry, std::__1::allocator<CAccountingEntry> >&) in walletdb.o
    CWalletDB::LoadWallet(CWallet*) in walletdb.o

    http://pastebin.com/D60X1udg (the error din't fit sry)

    Pls i need help i can compile the coin in terminal whitout the Qt the terminal version only!

    GitHub for the source : https://github.com/tomasmartins/GameCoin


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    It seems it's searching for libdb_cxx in /opt/local/lib/db48 which doesn't exist and you have another one in /usr/local/lib/ but it's 32 bit.

    You should install the correct version first.


Log in to reply