CMake and linking errors?

OK, I must admit that I haven’t had a chance to try out the new code,
although it definitely sounds good from the messages to the list.

I compile on Mac OS X, so sometimes libraries (particularly
development versions) are installed into strange locations. I’m
having trouble getting CMake to find them. For example, right now,
the code compiles, but linking fails:

ld: Undefined symbols:
__ZN9OpenBabel14OBElementTable6GetRGBEi
__ZN9OpenBabel4etabE
_glMaterialf
_glMaterialfv
__Z17qt_message_output9QtMsgTypePKc
__Z5qFreePv
__ZN10QByteArray7reallocEi
__ZN11QMetaObject8activateEP7QObjectPKS_iPPv
__ZN11QTextStreamC1EP7QString6QFlagsIN9QIODevice12OpenModeFlagEE
__ZN11QTextStreamD1Ev
__ZN11QTextStreamlsEPKc

Any suggestions for what to look for?

Thanks,
-Geoff