icudtl.dat not found in bundle

Having problems with building or using the JCEF Java binding? Ask your questions here.

icudtl.dat not found in bundle

Postby atsarenko » Thu Jan 11, 2018 10:31 pm

I want to use the library as embedded for Mac OS High Sierra , first I got an exception:
Code: Select all
Library not loaded: @rpath/Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework
Reason: image not found


pacakge structure of the bundle:
path/jcef_build/native/Release
Code: Select all
Chromium Embedded Framework.framework jcef-tests.jar                        jcef_app.app                          org                                   widevinecdmadapter.plugin
jcef Helper.app                       jcef.jar                              libjcef.dylib                         tests


I fixed this in the following way:
Code: Select all
install_name_tool -change "@rpath/Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework" "@loader_path/Chromium Embedded Framework.framework/Chromium Embedded Framework" libjcef.dylib

install_name_tool -change "@executable_path/Chromium Embedded Framework.framework/Chromium Embedded Framework" "@executable_path/Chromium Embedded Framework.framework/Chromium Embedded Framework" "jcef Helper.app/Contents/MacOS/jcef Helper"


but now I got the following error:
Code: Select all
[0112/050338.677046:ERROR:icu_util.cc(138)] icudtl.dat not found in bundle
[0112/050338.678305:ERROR:icu_util.cc(174)] Invalid file descriptor to ICU data received.


how to fix it ?

p.s. in Mac OS High Sierra does not work jcef_app.app
Code: Select all
 MainFrame quit unexpectedly
atsarenko
Newbie
 
Posts: 5
Joined: Wed Jan 10, 2018 7:42 am

Re: icudtl.dat not found in bundle

Postby Czarek » Wed Jan 24, 2018 4:53 pm

Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 8 guests