Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Cant run dwarf fortress on mac...  (Read 1637 times)

J-max04

  • Escaped Lunatic
    • View Profile
Cant run dwarf fortress on mac...
« on: April 20, 2012, 08:30:53 pm »

I really want to play this game, but cant set it up. Im running mac os 10.4.11. heres the terminal error:
Code: [Select]
dyld: lazy symbol binding failed: Symbol not found: _pthread_mutexattr_destroy$UNIX2003
  Referenced from: ./libs/libstdc++.6.dylib
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _pthread_mutexattr_destroy$UNIX2003
  Referenced from: ./libs/libstdc++.6.dylib
  Expected in: /usr/lib/libSystem.B.dylib

./df: line 12:   394 Trace/BPT trap          ./dwarfort.exe
plz help!
Logged

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: Cant run dwarf fortress on mac...
« Reply #1 on: April 20, 2012, 08:33:07 pm »

Dwarf Fortress only runs on Intel based macs. Simply go to the "about this mac" under the apple menu and see what it says your processor is. If it says PowerPC then your mac is simply too old. You could still play 40d which can be downloaded here.
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.

J-max04

  • Escaped Lunatic
    • View Profile
Re: Cant run dwarf fortress on mac...
« Reply #2 on: April 20, 2012, 09:03:10 pm »

1.66Ghz Intel core duo.
Logged

clockwork

  • Bay Watcher
  • Dabbling Performer
    • View Profile
Re: Cant run dwarf fortress on mac...
« Reply #3 on: April 21, 2012, 02:02:50 am »

in the terminal type - /Users/(username)/(file route)/df_osx/df
and it should run.

Logged

J-max04

  • Escaped Lunatic
    • View Profile
Re: Cant run dwarf fortress on mac...
« Reply #4 on: April 21, 2012, 03:34:27 am »

thats how i got this error...
Logged

robertheinrich

  • Bay Watcher
    • View Profile
Re: Cant run dwarf fortress on mac...
« Reply #5 on: April 21, 2012, 06:03:11 am »

This here seems related. Same problem, different lib:
http://lists.macosforge.org/pipermail/macports-users/2010-November/022665.html

It seems that the search for libraries is case insensitive, so if you have libSystem and libsystem you gotta jump through some hoops to make it find libSystem. lol @ Apple.
Logged

Madd the Sane

  • Escaped Lunatic
  • Crazy, rabid squirrel.
    • View Profile
    • PlayerPRO SourceForge
Re: Cant run dwarf fortress on mac...
« Reply #6 on: July 27, 2012, 02:22:17 pm »

The filesystem of OS X (HFS+), by default, is case preserving, meaning that lookup of files (and libraries) are case-insensitive. But the issue here isn't libsystem vs. libSystem, it's that libSystem, the system-wide library that everything uses, doesn't have that symbol on 10.4 and earlier. Apple applied for the UNIX 2003 specification for Leopard (10.5) and symbols that end with $UNIX2003 were added to differentiate between the old symbols.

To fix this, the library (the custom libstdc++) has to be built and linked with "-mmacosx-version-min=10.4" to use the pre-Leopard symbols.
Logged
Get out of my mind, idea! I already have an idea in there!