Hi list,
after getting TM2 + synctex working again on 10.6.8 I experience an issues using the 'Citation based on current word' command (opt+esc) in the LaTeX.bundle:
dyld: Library not loaded: @executable_path/../Frameworks/libc++.1.dylib Referenced from: /Applications/TextMate.app/Contents/PlugIns/Dialog2.tmplugin/Contents/Resources/tm_dialog2 Reason: image not found /Users/christian/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:182:in `load': Cannot parse a NULL or zero-length data (OSX::PropertyListError) from /Users/christian/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:182:in `menu' from /Users/christian/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:177:in `popen' from /Users/christian/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:177:in `menu' from Citation Based on Current Word / Selection…:12
It seems that the @executable_path variable is not set properly, is there any way to fix this or does this require a new compiliation?
Thanks, Chris
otool -L /Applications/TextMate.app/Contents/PlugIns/Dialog2.tmplugin/Contents/Resources/tm_dialog2 /Applications/TextMate.app/Contents/PlugIns/Dialog2.tmplugin/Contents/Resources/tm_dialog2: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 751.62.0) @executable_path/../Frameworks/libc++.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11) /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 550.43.0)
On Sep 12, 2012, at 7:29 AM, chlists chlists@me.com wrote:
after getting TM2 + synctex working again on 10.6.8 I experience an issues using the 'Citation based on current word' command (opt+esc) in the LaTeX.bundle:
dyld: Library not loaded: @executable_path/../Frameworks/libc++.1.dylib Referenced from: /Applications/TextMate.app/Contents/PlugIns/Dialog2.tmplugin/Contents/Resources/tm_dialog2 Reason: image not found […] It seems that the @executable_path variable is not set properly, is there any way to fix this or does this require a new compiliation?
I think you can change the install name (in Dialog) to use @loader_path instead of @executable_path.
Though if you took the 32 bit version, you should be able to use the dialog plug-ins from the older release of TextMate. You can actually just install these in ~/Library/Application Support/TextMate/PlugIns/ and it’ll load those instead of the two included in TextMate.app.