New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #22040 (new defect)

Opened 4 years ago

Last modified 2 years ago

cunit-2.1_0_1 has unresolved reference at link time

Reported by: ceharris414@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: cunit

Description

When launching a simple test runner linked against cunit-2.1_0_1, dyld throws the following error for a symbol in ncurses. Explicitly linking against ncurses and cunit resolves the reference. CUnit built from original sources does not have this problem.

Test runner attached.

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

Attachments

TestRunner.c (678 bytes) - added by ceharris414@… 4 years ago.
Test runner program

Change History

Changed 4 years ago by ceharris414@…

Test runner program

comment:1 Changed 4 years ago by ceharris414@…

Forgot to mention this is Mac OS X 10.6 and XCode 3.2.

comment:2 follow-up: ↓ 3 Changed 4 years ago by macsforever2000@…

  • Port set to cunit

comment:3 in reply to: ↑ 2 Changed 4 years ago by seth@…

Hey there, just wondering if this has been fixed. I just installed Macports from SVN to install CUnit, but I'm getting the same error as the original poster. (Same setup also) Thanks, Seth

comment:4 Changed 3 years ago by ryandesign@…

Has duplicate #24193.

comment:5 Changed 2 years ago by jmr@…

Did you configure with --enable-curses when you built cunit yourself? I really think this is an upstream problem (if indeed it's not just meant to work that way).

Note: See TracTickets for help on using tickets.