Page 1 of 1

Video playing error

PostPosted: Fri Sep 14, 2012 4:41 pm
by azulciels
I m trying to create a mac app to play videos. When site loads video, it doesn't play. On console, an error is shown as " dyld could not load inserted library: @executable_path/../../../libplugin_carbon_interpose.dylib"

Similarly, if I try to visit youtube.com, I get same error.

dyld: could not load inserted library: @executable_path/../../../libplugin_carbon_interpose.dylib
[0914/172033:ERROR:webplugin_delegate_proxy.cc(300)] Plug-in crashed on start

dyld may fail to load a library if library was built for a different architecture than binary. Both default setting of NATIVE_ARCH and only 32 bit arch for all components (cefclient, cefclient helper, and libcef_dll_wrapper resulted in same error. When I downloaded the source code initially, it was using compiler as GCC 4.2, which is not supported on Xcode 4.3, so I used LLVM GCC 4.2.

Build environment is latest CEF version 3.1180.719 on Mac 10.7.4 (Snow Leopard) Xcode 4.3.2 (My machine is 64 bit).

Your insight/ideas will be appreciated. Thanks in advance.

Re: Video playing error

PostPosted: Mon Sep 17, 2012 11:14 am
by magreenblatt
CEF doesn't normally try to load libplugin_carbon_interpose.dylib. Did you perhaps copy some files from a Google Chrome installation or make other changes?

Re: Video playing error

PostPosted: Mon Sep 17, 2012 12:04 pm
by azulciels
magreenblatt, Thanks for your reply. No files were copied from Chrome installation or setup was tweaked in any way.

This issue impacts only CEF3. On CEF1, it works correctly.

Re: Video playing error

PostPosted: Mon Sep 17, 2012 12:11 pm
by magreenblatt
My mistake, I was testing with the CEF3 trunk revision instead of the 1180 branch. It works in trunk but is indeed broken in the 1180 branch. Please add an issue to the CEF issue tracker.

Re: Video playing error

PostPosted: Mon Sep 17, 2012 12:13 pm
by magreenblatt

Re: Video playing error

PostPosted: Mon Sep 24, 2012 2:23 pm
by azulciels
Mag, Thanks for your help. I checked out the trunk and chrome and build it. Resulting libraries did not have this problem.

It does print a message about missing Carbon interpose library but app continues to work. (Previously, it used to crash with crash report in console)