thousands of "... CFLog (21): Error loading /Library/..." errors

Recently, I've been getting litterally thousands of occurances of the same error message in my Console log (/Library/Logs/Console/ username/console.log), as well as hundreds of the same error message in my Terminal window when running certain normal commands such as osascript. They are all of the form:

YYYY-MM-DD hh:mm:ss.ddd procname[pid] CFLog (21): Error loading /Library/Application Support/DivXNetworks/liblame3.92.dylib: error code 0, error number 2 (dyld: osascript can't open library: /Library/Application Support/DivXNetworks/liblame3.92.dylib (No such file or directory, errno = 2)
)

Processes reporting this error include SystemUIServer, System Preferences, Dock, iTunes, Terminal, loginwindow, osascript, Calculator, and many others. In fact, it appears that this messsage occurs for every Cocoa application.

As far as I know, none of the processes reporting this error have any use of any DivX libraries. And, to my knowledge, nothing was ever installed in the location the error mentions.

(How) does this make any sense, and how can I fix it?

iMac (G3), Mac OS X (10.3.9)

Posted on Jan 23, 2006 12:37 AM

Reply
4 replies

Jan 23, 2006 12:58 PM in response to Tom in London

There are a few problems with your suggestion of just ignoring the problem:
* It's not supposed to happen.
* I didn't use to get these errors.
* I don't get them on the other computer.
* It slows things down significantly; specifically: it takes longer to startup (because of loginwindow) and login (loginwindow and Dock), applications take longer to start (all of them), AppleScripts run slower, and so does QuickTime.
* It wastes hard drive space, of which I only have 6GB on on iMac and 8 on the other, by exploding console.log (which, due to this issue, can grow to several MB in a day)
* It interferes with several shell commands (my Terminal window gets flooded with hundreds of them, and nothing starts happening until all of them get displayed), especially osascript (the command-line tool for AppleScript), which I use routinely via several tools I've written which call it
* It is an error, which by defenition should be corrected, not ignored.

Does someone know what is causing this, and how to correct it, please?

--------
One minor edit to original post; it should read (changed part bold):

YYYY- MM- DD hh: mm: ss. ddd procname[ pid] CFLog (21): Error loading /Library/Application Support/DivXNetworks/liblame3.92.dylib: error code 0, error number 2 (dyld: procname can't open library: /Library/Application Support/DivXNetworks/liblame3.92.dylib (No such file or directory, errno = 2)
)

Jan 31, 2006 11:10 PM in response to Apperujutsuka

Well, gee, I solved my own problem: My brother had copied the QuickTime components and Internet plug-ins from my computer to his (which was having the errors). Amongst these was the DivX QuickTime components. But, he didn't copy the corresponding DivXNetworks folder from application support. So, when any Cocoa application launched, being linked to the QuickTime framework, it would cause QuickTime to attempt to load all of its components, and when QuickTime tried to load the DivX components, which are linked to the DivX dynamic libraries in the missing folder which was supposed to be present in application support, loading the DivX components would fail due to the missing libraries and cause this error.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

thousands of "... CFLog (21): Error loading /Library/..." errors

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.