Breakage in Leopard – RMagick fails to find libdpstk.1.dylib
Filed in OSX, rails | 28 October, 2007
Some small breakage in Leopard – it seems a couple of parts of X11 have been removed. Starting my rails setup, which has GraphicsMagick installed (read here for how), results in this:
dyld: NSLinkModule() error dyld: Library not loaded: /usr/X11R6/lib/libdpstk.1.dylib Referenced from: /usr/local/lib/ruby/gems/1.8/gems/rmagick-1.15.9/lib/RMagick.bundle Reason: image not found Trace/BPT trap
Those dylib files do not exist any more. But… I have a backup (I hope you do). I ended up doing this:
$ cd /Volumes/BackupDisk/usr/X11R6/lib $ sudo cp libdps*1.0* /usr/X11R6/lib/ $ sudo ln -s /usr/X11R6/lib/libdpstk.1.0.dylib /usr/X11R6/lib/libdpstk.1.dylib $ sudo ln -s /usr/X11R6/lib/libdps.1.0.dylib /usr/X11R6/lib/libdps.1.dylib
All fixed.
Without a backup you are going to need to find those two files from somewhere. I’m not sure I can legally post them here, but email me if you are stuck.
5 comments
RSS