Thursday 21 July 2011

What is DYLD?

DYLD  is the dynamic link editor:  a dynamic linker is the part of an operating system (OS) that loads and links the shared libraries for an executable when it is executed.


When the OS version is updated and system rebooted then on opening terminal we can get a error message as:


 "dyld: shared cached file was build against a different libSystem.dylib, ignoring cache"


To resolve the problem open up the teminal and type following command:

$ sudo update_dyld_shared_cache -force
You should receive a similar response below:
update_dyld_shared_cache[4392] current i386 cache file invalid because /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv has changed
update_dyld_shared_cache: warning mismatched install path in /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera for /usr/lib/libgcc_s.1.dylib
update_dyld_shared_cache: warning mismatched install path in /System/Library/CoreServices/RawCamera.bundle/Contents/Resources/MetadataLib.dylib for /usr/lib/libgcc_s.1.dylib
update_dyld_shared_cache[4392] current x86_64 cache file invalid because /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv has changed
update_dyld_shared_cache: warning mismatched install path in /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera for /usr/lib/libgcc_s.1.dylib
update_dyld_shared_cache: warning mismatched install path in /System/Library/CoreServices/RawCamera.bundle/Contents/Resources/MetadataLib.dylib for /usr/lib/libgcc_s.1.dylib

No comments: