Skip to content

Instantly share code, notes, and snippets.

@steveklabnik
Created March 27, 2012 16:32
Show Gist options
  • Select an option

  • Save steveklabnik/2217716 to your computer and use it in GitHub Desktop.

Select an option

Save steveklabnik/2217716 to your computer and use it in GitHub Desktop.
Console.app:
3/27/12 12:32:18.846 PM [0x0-0x6f26f2].org.hackety.shoes: dyld: Library not loaded: @executable_path/libXft.2.dylib
3/27/12 12:32:18.846 PM [0x0-0x6f26f2].org.hackety.shoes: Referenced from: /Users/steve/src/shoes/Shoes.app/Contents/MacOS/./pango-querymodules
3/27/12 12:32:18.846 PM [0x0-0x6f26f2].org.hackety.shoes: Reason: image not found
3/27/12 12:32:18.910 PM [0x0-0x6f26f2].org.hackety.shoes: /Users/steve/src/shoes/Shoes.app/Contents/MacOS/shoes-launch: line 8: 15933 Trace/BPT trap: 5 PANGO_RC_FILE="$APPPATH/pangorc" ./pango-querymodules > pango.modules
3/27/12 12:32:18.916 PM [0x0-0x6f26f2].org.hackety.shoes: dyld: Library not loaded: @executable_path/libxcb.1.dylib
3/27/12 12:32:18.916 PM [0x0-0x6f26f2].org.hackety.shoes: Referenced from: /Users/steve/src/shoes/Shoes.app/Contents/MacOS/libXrender.1.dylib
3/27/12 12:32:18.916 PM [0x0-0x6f26f2].org.hackety.shoes: Reason: image not found
3/27/12 12:32:18.961 PM ReportCrash: Saved crash report for pango-querymodules[15933] version ??? (???) to /Users/steve/Library/Logs/DiagnosticReports/pango-querymodules_2012-03-27-123218_thoth.crash
3/27/12 12:32:19.213 PM [0x0-0x6f26f2].org.hackety.shoes: /Users/steve/src/shoes/Shoes.app/Contents/MacOS/shoes-launch: line 9: 15936 Trace/BPT trap: 5 DYLD_LIBRARY_PATH="$APPPATH" PANGO_RC_FILE="$APPPATH/pangorc" SHOES_RUBY_ARCH="x86_64-darwin11.2.0" ./shoes-bin "$@"
3/27/12 12:32:19.213 PM com.apple.launchd.peruser.501: ([0x0-0x6f26f2].org.hackety.shoes[15932]) Exited with code: 133
3/27/12 12:32:19.230 PM ReportCrash: Saved crash report for shoes-bin[15936] version ??? (???) to /Users/steve/Library/Logs/DiagnosticReports/shoes-bin_2012-03-27-123219_thoth.crash
$ open Shoes.app
LSOpenURLsWithRole() failed with error -10810 for the file /Users/steve/src/shoes/Shoes.app.
$ ./Shoes.app/Contents/MacOS/shoes-launch ✘
dyld: Library not loaded: @executable_path/libXft.2.dylib
Referenced from: /Users/steve/src/shoes/Shoes.app/Contents/MacOS/./pango-querymodules
Reason: image not found
./Shoes.app/Contents/MacOS/shoes-launch: line 8: 15959 Trace/BPT trap: 5 PANGO_RC_FILE="$APPPATH/pangorc" ./pango-querymodules > pango.modules
dyld: Library not loaded: @executable_path/libxcb.1.dylib
Referenced from: /Users/steve/src/shoes/Shoes.app/Contents/MacOS/./libXrender.1.dylib
Reason: image not found
./Shoes.app/Contents/MacOS/shoes-launch: line 9: 15960 Trace/BPT trap: 5 DYLD_LIBRARY_PATH="$APPPATH" PANGO_RC_FILE="$APPPATH/pangorc" SHOES_RUBY_ARCH="x86_64-darwin11.2.0" ./shoes-bin "$@"
@wasnotrice
Copy link

Steve, compare on your system:

huckle:Shoes eric$ otool -L Shoes.app/Contents/MacOS/pango-querymodules 
Shoes.app/Contents/MacOS/pango-querymodules:
    @executable_path/libpangoft2-1.0.0.dylib (compatibility version 2801.0.0, current version 2801.4.0)
    @executable_path/libpango-1.0.0.dylib (compatibility version 2801.0.0, current version 2801.4.0)
    @executable_path/libfreetype.6.dylib (compatibility version 14.0.0, current version 14.2.0)
    @executable_path/libfontconfig.1.dylib (compatibility version 6.0.0, current version 6.4.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
    @executable_path/libgobject-2.0.0.dylib (compatibility version 3001.0.0, current version 3001.2.0)
    @executable_path/libgthread-2.0.0.dylib (compatibility version 3001.0.0, current version 3001.2.0)
    @executable_path/libgmodule-2.0.0.dylib (compatibility version 3001.0.0, current version 3001.2.0)
    @executable_path/libglib-2.0.0.dylib (compatibility version 3001.0.0, current version 3001.2.0)
    @executable_path/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0)

@steveklabnik
Copy link
Author

$ cd ../shoes&& otool -L Shoes.app/Contents/MacOS/pango-querymodules
Shoes.app/Contents/MacOS/pango-querymodules:
    @executable_path/libpangox-1.0.0.dylib (compatibility version 2801.0.0, current version 2801.4.0)
    @executable_path/libpangoxft-1.0.0.dylib (compatibility version 2801.0.0, current version 2801.4.0)
    @executable_path/libpangoft2-1.0.0.dylib (compatibility version 2801.0.0, current version 2801.4.0)
    @executable_path/libXft.2.dylib (compatibility version 5.0.0, current version 5.0.0)
    @executable_path/libXrender.1.dylib (compatibility version 5.0.0, current version 5.0.0)
    @executable_path/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)
    @executable_path/libpango-1.0.0.dylib (compatibility version 2801.0.0, current version 2801.4.0)
    @executable_path/libfreetype.6.dylib (compatibility version 13.0.0, current version 13.2.0)
    @executable_path/libfontconfig.1.dylib (compatibility version 6.0.0, current version 6.4.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
    @executable_path/libgobject-2.0.0.dylib (compatibility version 3001.0.0, current version 3001.2.0)
    @executable_path/libgthread-2.0.0.dylib (compatibility version 3001.0.0, current version 3001.2.0)
    @executable_path/libgmodule-2.0.0.dylib (compatibility version 3001.0.0, current version 3001.2.0)
    @executable_path/libglib-2.0.0.dylib (compatibility version 3001.0.0, current version 3001.2.0)
    @executable_path/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0)

@wasnotrice
Copy link

Looks to me like your pango was compiled with X, instead of with quartz. The rake deps task should install with quartz. I can't remember what all pango depends on--glib, I think. Maybe best to brew uninstall all the deps and reinstall?

@steveklabnik
Copy link
Author

Lemme try.

@steveklabnik
Copy link
Author

./configure --prefix=/usr/local/Cellar/pango/1.28.4 --without-x --enable-sta.. got run when I reinstalled.

Totally worked. Rock.

@wasnotrice
Copy link

Sweet!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment