PDA

View Full Version : Problem with mongodb in Qt (Mac)



skizzik
15th October 2010, 13:40
I'm trying to compile a program that uses mongodb in Qt on a mac, it has been compiled in windows successfully. But i get som errors:

Undefined symbols:
"boost::system::get_system_category()", referenced from:
__static_initialization_and_destruction_0(int, int)in libmongoclient.a(jsobj.o)

and many more like that, and then:

ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [--program--] Error 1
Exited with code 2.
Error while building project --program--
When executing build step 'Make'

anyone who knows what is wrong and what to do?

skizzik
18th October 2010, 12:03
Any ideas? I have googled it over and over butcan't get it to work.

skizzik
19th October 2010, 08:30
The libs are included correctly (I think) but it still have those undefined symbols referenced from libmongoclient.a.