I just installed CUnit on Snow Leopard with MacPorts/DarwinPorts. The installation went fi开发者_如何学Pythonne, however, I get en error when trying to run the unit tests:
dyld: Symbol not found: _acs_map
Referenced from: /opt/local/lib/libcunit.1.dylib
Expected in: flat namespace
in /opt/local/lib/libcunit.1.dylib
Trace/BPT trap
Has anyone come across this problem or has anyone successfully got CUnit working on Snow Leopard some other way?
resolved by linking ncurses (-lncurses) in build.
精彩评论