You can do two things:
- Use RCDefaultApp control panel (http://www.rubicode.com/Software/RCDefaultApp/) to disassociate the extension:
- Install the panel, and open it
- Go to the Extensions tab
- Search the
dylib
extension, and set Terminal as the Default Application (that's the normal setting; you can remove the extension entirely, and it will have no associated icon because of that)
- Alternatively, if you don't want to install RCDefaultApp, rebuild the Launch Services Database. For Mac OS X 10.5, you have to:
- Move to the trash the following files:
/Library/Caches/com.apple.LaunchServices-0230.csstore
/Library/Caches/com.apple.LaunchServices-023nnn.csstore
wherennn
is the user ID to be reset (for instance,501
for the first user created in the system). Or all similar files, if you want to reset all accounts./Library/Caches/com.apple.LaunchServices-0140.csstore
and/Library/Caches/com.apple.LaunchServices-014nnn.csstore
might be present, and need to be trashed as well, if you upgraded from Tiger.
- Restart your Mac. If the problem persists:
- Delete the
~/Library/Preferences/com.apple.LaunchServices.plist
file - Repeat the steps above (the files in
/Library/Caches
will have been recreated)
- Delete the
- Move to the trash the following files:
For other Mac OS X versions, try the instructions in this page: http://www.thexlab.com/faqs/resetlaunchservices.html