|Anonymous | Login | Signup for a new account||2017-11-24 02:10 PST|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007389||Dwarf Fortress||Miscellaneous Crashes||public||2014-07-16 12:42||2016-06-29 18:26|
|Target Version||Fixed in Version|
|Summary||0007389: freetype missing on OS X; causes crashes when entering fullscreen and/or starting DF|
|Description||(Removed partial duplicate of 0005260)|
Apple stopped distributing X11 with OS X 10.8+, so players with newer versions of OS X have freetype6.dylib missing from their system, and the game crashes with:
dyld: Library not loaded: /usr/X11R6/lib/libfreetype.6.dylib Referenced from: /Users/hlavaczech/Downloads/df_osx/libs/SDL_ttf.framework/Versions/A/SDL_ttf Reason: image not found
|Steps To Reproduce||Install a clean osx 10.8+ and try to run the game.|
|Additional Information||Solution that seems to work: 0007389:0032194|
|Tags||Fixed in 0.43.05?|
edited on: 2014-07-16 12:58
Related to 0003263, but not quite the same.
Reminder sent to: fricy
Does this occur without DFHack?
Ok, a small correction is in order: The "wrong mach-o" message happens only with dfhack, pure vanilla opens a pop-up with missing X11 and instructs you to read this page: http://support.apple.com/kb/HT5293 [^]
If I copy freetype6 to df/libs both versions launch without complain.
Further: Xquartz is 68 mega, freetype is about 1 mega.
I only noticed this problem with dfhack-r5, because freetype was bundled with stonesense in r3, and dfhack/deplibs was refered in the startup script. Relevant conversation: http://goo.gl/RLdA65 [^]
The SDL fullscreen bug is present in both version, df does not CTD, but stops responding with the music playing in the background.
This is on an unmodified 10.9.3, no patches, hotfixes, etc.
edited on: 2014-07-25 13:44
Ah, so DFHack blocks the "Download XQuartz" dialog, but the problem occurs either way. For me, the library is located in /usr/X11R6/lib/libfreetype.6.dylib - does copying it into libs/ fix it for you? (Interestingly enough, Freetype is mentioned on the "About DF" screen, so it may be an accidental omission.)
The fullscreen bug is a different, already-reported bug.
Freetype is included as a .dll in windows, so I'm sure it's intended to be bundled. Perhaps in pre 10.8 Toady felt that it's already in OSX, so no need to bundle it. This has changed, and that is my point.
About your question: Yes, there is a freetype.6 included default in Mavericks in /usr/X11/lib. No, it does not work if copied into df/libs. The problem is with the dylib, not the path.
This file comes with 10.9.3:
ls -l libfreetype_maverick.6.dylib
-rwxr-xr-x@ 1 fricy staff 25968 Júl 16 20:05 libfreetype_maverick.6.dylib
otool -L libfreetype_maverick.6.dylib
/usr/X11/lib/libfreetype.6.dylib (compatibility version 15.0.0, current version 15.1.0)
/usr/X11/lib/libxstub.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
And this is the working one from XQuartz:
ls -l libfreetype.6.dylib
-rwxr-xr-x 1 fricy staff 1089968 Feb 16 2012 libfreetype.6.dylib
otool -L libfreetype.6.dylib
/usr/X11/lib/libfreetype.6.dylib (compatibility version 14.0.0, current version 14.2.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
/usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
I don't know why is it only 25kb, I don't know Apple's reason for this change. I only know that the game from Toady's download page does not work out of the box for newbies, and it's a simple fix.
Sorry, the tracker doesn't let me edit the post:
1. This problem goes back 2 years, see: 5580
2. Can't find the bugreport you mentioned above about SDL. Can you help me out?
edited on: 2014-08-26 14:05
0005260 is the fullscreen bug. It appears that DF crashes on startup on OS X 10.6 without freetype - copying /usr/X11/lib/libfreetype.6.dylib to DF/libs/libfreetype.6.dylib fixes this problem as well.
Edit: This also eliminates the X11/XQuartz dependency, according to http://www.bay12forums.com/smf/index.php?topic=142925.0 [^]
Problem still exists on 0.40.10. (tested on OS X 10.9 and 10.10 beta).
Adding libfreetype.6.dylib and replacing SDL.framework to 1.2.15 on the libs folder solves the issue.
Encountered this with OS X 10.10 (yosemite) and 0.40.15.
This was my first time running DF since my OS upgrade. I have XQuartz installed since before the OS upgrade.
I resolved my issue by copying /opt/X11/lib/libfreetype.6.dylib into the DF directory, as per lethosor's comment. (Note that the source path has changed)
|I changed the error message in the description to the one from 0008595. The previous message referenced DFHack, but this isn't DFHack-specific.|
Madd the Sane (reporter)
|Note that you may have to re-install XQuartz if you've upgraded your OS. I had to do this myself.|
edited on: 2016-06-26 09:00
According to a discussion on Reddit ( http://www.reddit.com/r/dwarffortress/comments/2va09g/help_with_running_df_in_console_on_os_x/cog6wng [^] ), including updated SDL libraries (or at least SDL_ttf from https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.dmg [^] , which includes freetype) should fix this. (Despite the version number being "2.0.11", that SDL_ttf build does work with DF, as well as its included freetype library. SDL2_ttf, on the other hand, is only compatible with SDL 2 and will not work with DF.)
To clarify: Download and open https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.dmg, [^] and replace the SDL_ttf framework in the "libs" folder in the DF folder with the downloaded copy.
Note: Users who want to try this on OS X 10.5 might need SDL_ttf 2.0.10 instead (thanks to jecowa for researching this).
edited on: 2016-09-05 07:50
May be fixed in 0.43.05 - Toady is working on getting a newer SDL_ttf working.
Edit: appears fixed in the 64-bit build, but not in the 32-bit one.
|2014-07-16 12:42||fricy||New Issue|
|2014-07-16 12:42||fricy||Tag Attached: Probable Quick Fix|
|2014-07-16 12:43||fricy||Tag Attached: OSX|
|2014-07-16 12:57||fricy||Note Added: 0026661|
|2014-07-16 12:58||fricy||Note Edited: 0026661||View Revisions|
|2014-07-16 13:58||Footkerchief||Relationship added||related to 0003263|
|2014-07-17 23:15||fricy||Issue Monitored: fricy|
|2014-07-25 06:40||lethosor||Note Added: 0027488|
|2014-07-25 07:41||fricy||Note Added: 0027494|
|2014-07-25 13:44||lethosor||Note Added: 0027540|
|2014-07-25 13:44||lethosor||Note Edited: 0027540||View Revisions|
|2014-07-26 01:46||fricy||Note Added: 0027579|
|2014-07-26 02:02||fricy||Note Added: 0027581|
|2014-07-26 08:09||Dwarfu||Relationship added||related to 0007638|
|2014-07-30 19:31||lethosor||Summary||OSX version of DF crashes when fullscreen, missing freetype6.dylib => freetype6.dylib missing on OS X; causes crashes when entering fullscreen and/or starting DF|
|2014-07-30 19:32||lethosor||Relationship added||has duplicate 0005580|
|2014-07-30 19:34||lethosor||Note Added: 0027998|
|2014-07-30 19:34||lethosor||Assigned To||=> lethosor|
|2014-07-30 19:34||lethosor||Status||new => acknowledged|
|2014-07-30 19:35||lethosor||Severity||major => crash|
|2014-08-15 13:03||ToadChild||Issue Monitored: ToadChild|
|2014-08-26 12:25||lethosor||Status||acknowledged => confirmed|
|2014-08-26 13:55||lsmoura||Note Added: 0029680|
|2014-08-26 14:05||lethosor||Note Edited: 0027998||View Revisions|
|2014-08-26 14:08||lethosor||Description Updated||View Revisions|
|2014-08-26 14:21||lethosor||Issue Monitored: Toady One|
|2014-11-07 14:19||ToadChild||Note Added: 0030905|
|2014-11-22 16:57||lethosor||Relationship added||parent of 0007309|
|2014-11-23 04:54||lethosor||Relationship deleted||parent of 0007309|
|2014-11-23 04:55||lethosor||Relationship added||has duplicate 0007309|
|2014-11-23 04:55||lethosor||Issue Monitored: Android5217|
|2014-12-02 21:30||Footkerchief||Relationship added||has duplicate 0008595|
|2014-12-06 07:09||lethosor||Description Updated||View Revisions|
|2014-12-06 07:11||lethosor||Note Added: 0031283|
|2014-12-06 07:11||lethosor||Description Updated||View Revisions|
|2014-12-06 07:18||lethosor||Relationship added||has duplicate 0003361|
|2014-12-18 18:12||Madd the Sane||Note Added: 0031360|
|2015-02-09 12:22||lethosor||Note Added: 0032193|
|2015-02-09 12:22||lethosor||Note View State: 0032193: private|
|2015-02-09 12:25||lethosor||Note Edited: 0032193||View Revisions|
|2015-02-09 12:25||lethosor||Note Added: 0032194|
|2015-02-09 18:32||lethosor||Note Edited: 0032193||View Revisions|
|2015-07-06 07:52||lethosor||Note Edited: 0032194||View Revisions|
|2015-07-06 07:52||lethosor||Relationship added||has duplicate 0009009|
|2015-07-06 11:22||lethosor||Tag Detached: OSX|
|2015-07-06 11:23||lethosor||Description Updated||View Revisions|
|2015-07-06 11:25||lethosor||Description Updated||View Revisions|
|2015-07-06 11:25||lethosor||Steps to Reproduce Updated||View Revisions|
|2015-10-18 10:50||lethosor||Note Edited: 0032194||View Revisions|
|2015-10-18 10:50||lethosor||Note Edited: 0032194||View Revisions|
|2015-10-18 10:54||lethosor||Relationship added||related to 0002624|
|2015-10-18 10:56||lethosor||Description Updated||View Revisions|
|2015-10-18 10:56||lethosor||Additional Information Updated||View Revisions|
|2015-10-19 14:19||lethosor||Summary||freetype6.dylib missing on OS X; causes crashes when entering fullscreen and/or starting DF => freetype missing on OS X; causes crashes when entering fullscreen and/or starting DF|
|2015-11-27 14:37||lethosor||Note Deleted: 0032193|
|2015-12-26 10:22||Footkerchief||Tag Detached: Probable Quick Fix|
|2015-12-26 10:59||lethosor||Additional Information Updated||View Revisions|
|2015-12-28 06:44||lethosor||Relationship added||has duplicate 0009431|
|2016-06-26 09:00||lethosor||Note Edited: 0032194||View Revisions|
|2016-06-29 18:25||lethosor||Tag Attached: Fixed in 0.43.05?|
|2016-06-29 18:26||lethosor||Note Added: 0035526|
|2016-09-05 07:50||lethosor||Note Edited: 0035526||View Revisions|
|Copyright © 2000 - 2010 MantisBT Group|