0 Replies Latest reply: Dec 26, 2012 11:30 AM by 981622 RSS

    berkeley db aix link error

    981622
      AIX 5.3
      xlC_r Version 5
      db-5.3.21

      Any help would be appriciated.

      xlC_r -o excxx_example_database_load excxx_example_database_load.o MyDb.o InventoryData.o -g -O2 -D_THREAD_SAFE -L../lib -L/usr/lib -ldb_cxx -lrt -ldb_cxx

      ld: 0711-317 ERROR: Undefined symbol: .DbEnv::open(const char*,unsigned int,int)
      ld: 0711-317 ERROR: Undefined symbol: .Db::open(DbTxn*,const char*,const char*,DBTYPE,unsigned int,int)
      make: 1254-004 The error code from the last command is 8.


      Regards
      xhpeng