PDA

View Full Version : undefined symbol at runtime with mongodb driver



blackhawk
21st January 2014, 15:07
Hi, I'm trying to use mongodb driver in qt. I installed mongodb-dev e libboost-dev on ubuntu 12.04 and it compiles. When I run the app from command line it's ok, but if I start a debug session with qtcreator at runtime it throws an undefined symbol error in QCoreApplication (_zn16qcoreapplicationc1erippci).

The .pro contains:


LIBS += -L/usr/lib/ -lmongoclient \
-L/usr/lib/ -lboost_filesystem \
-L/usr/lib/ -lboost_system \
-L/usr/lib/ -lboost_thread \
-L/usr/lib/ -lboost_program_options

Someone can help me ?
Thanks