Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0003308Dwarf FortressTechnical -- Generalpublic2010-09-24 09:552014-08-04 15:01
Ogg the Blinky Sock 
Footkerchief 
urgentcrashalways
resolvedduplicate 
0.31.14 
 
0003308: dyld stdc++ symbol not found on launch
Using OS X 10.4.2:
dyld: lazy symbol binding failed: Symbol not found: _pthread_mutexattr_destroy$UNIX2003
  Referenced from: /Users/MarcKeller/Desktop/df_osx.1/libs/libstdc++.6.dylib
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _pthread_mutexattr_destroy$UNIX2003
  Referenced from: /Users/MarcKeller/Desktop/df_osx.1/libs/libstdc++.6.dylib
  Expected in: /usr/lib/libSystem.B.dylib
/Users/[deleted]/Desktop/df_osx.1/df: line 5: 562 Trace/BPT trap ./dwarfort.exe


Using OS 10.6.2:

dyld: Symbol not found: __ZNSt8__detail12__prime_listE
  Referenced from: /Users/mlye/Desktop/df_osx/./dwarfort.exe
  Expected in: /usr/lib/libstdc++.6.dylib

df: line 5: 8696 Trace/BPT trap ./dwarfort.exe
 
% cd ~/df_osx
% sh df
This bug report describes new problems that were discovered following the attempted resolution of http://www.bay12games.com/dwarves/mantisbt/view.php?id=3263. [^]
No tags attached.
duplicate of 0003263resolved Toady One Mac version unable to load up Dwarf Fortress game at all. 
Issue History
2010-09-24 09:55Ogg the Blinky SockNew Issue
2010-09-24 09:59Logical2uRelationship addedchild of 0003263
2012-02-20 19:16FootkerchiefNote Added: 0020317
2012-02-20 19:16FootkerchiefTag Attached: AWAITING UPDATE
2012-07-04 15:52Madd the SaneNote Added: 0023153
2014-01-27 09:15FootkerchiefRelationship replacedduplicate of 0003263
2014-01-27 09:15FootkerchiefStatusnew => resolved
2014-01-27 09:15FootkerchiefResolutionopen => duplicate
2014-01-27 09:15FootkerchiefAssigned To => Footkerchief
2014-08-04 15:01FootkerchiefTag Detached: AWAITING UPDATE

Notes
(0020317)
Footkerchief   
2012-02-20 19:16   
Reminder sent to: Ogg the Blinky Sock

Is this bug still present in 0.34.02?
(0023153)
Madd the Sane   
2012-07-04 15:52   
The symbol _pthread_mutexattr_destroy$UNIX2003 was introduced in 10.5 and isn't available to 10.4. In order to work with 10.4, it will have to be compiled and linked with -mmacosx-version-min=10.4 and preferably to the 10.4 SDK.

The other symbol is because it's looking for libstdc++.6.dylib in /usr/local/lib, not finding it there and reverting to the system-installed one in /usr/lib, which lacks the symbol.

To launch Dwarf Fortress, see issue 4103.