pigoz / mplayerosx-builds

build scripts of mplayer2 for Mac OSX
35 stars 8 forks source link

libicuuc.50.dylib is referenced but does not exist #18

Open puchupala opened 11 years ago

puchupala commented 11 years ago

I got this error while bundling.

akari:mplayerosx-builds knightbaron$ rake pkg:mposxt --trace
** Invoke pkg:mposxt (first_time)
** Execute pkg:mposxt
Error: @loader_path/libicuuc.50.dylib is referenced but does not exist
rake aborted!
No such file or directory - /Users/knightbaron/Projects/mplayerosx-builds/deploy/mplayer2-local.mpBinaries/Contents/MacOS/lib/libicuuc.50.dylib
/Users/knightbaron/Projects/mplayerosx-builds/lib/dylibpackager.rb:17:in `chmod'
/Users/knightbaron/Projects/mplayerosx-builds/lib/dylibpackager.rb:17:in `chmod'
/Users/knightbaron/Projects/mplayerosx-builds/lib/dylibpackager.rb:17:in `block in cp_libraries'
/Users/knightbaron/Projects/mplayerosx-builds/lib/dylibpackager.rb:15:in `each'
/Users/knightbaron/Projects/mplayerosx-builds/lib/dylibpackager.rb:15:in `cp_libraries'
/Users/knightbaron/Projects/mplayerosx-builds/lib/dylibpackager.rb:18:in `block in cp_libraries'
/Users/knightbaron/Projects/mplayerosx-builds/lib/dylibpackager.rb:15:in `each'
/Users/knightbaron/Projects/mplayerosx-builds/lib/dylibpackager.rb:15:in `cp_libraries'
/Users/knightbaron/Projects/mplayerosx-builds/lib/dylibpackager.rb:18:in `block in cp_libraries'
/Users/knightbaron/Projects/mplayerosx-builds/lib/dylibpackager.rb:15:in `each'
/Users/knightbaron/Projects/mplayerosx-builds/lib/dylibpackager.rb:15:in `cp_libraries'
/Users/knightbaron/Projects/mplayerosx-builds/lib/dylibpackager.rb:18:in `block in cp_libraries'
/Users/knightbaron/Projects/mplayerosx-builds/lib/dylibpackager.rb:15:in `each'
/Users/knightbaron/Projects/mplayerosx-builds/lib/dylibpackager.rb:15:in `cp_libraries'
/Users/knightbaron/Projects/mplayerosx-builds/lib/dylibpackager.rb:9:in `stage_to'
/Users/knightbaron/Projects/mplayerosx-builds/lib/packager.rb:12:in `bundle_mplayer'
/Users/knightbaron/Projects/mplayerosx-builds/Rakefile:43:in `block (2 levels) in <top (required)>'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.2/lib/rake/task.rb:227:in `call'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.2/lib/rake/task.rb:227:in `block in execute'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.2/lib/rake/task.rb:222:in `each'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.2/lib/rake/task.rb:222:in `execute'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.2/lib/rake/task.rb:166:in `block in invoke_with_call_chain'
/Users/knightbaron/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.2/lib/rake/task.rb:159:in `invoke_with_call_chain'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.2/lib/rake/task.rb:152:in `invoke'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.2/lib/rake/application.rb:141:in `invoke_task'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.2/lib/rake/application.rb:99:in `block (2 levels) in top_level'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.2/lib/rake/application.rb:99:in `each'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.2/lib/rake/application.rb:99:in `block in top_level'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.2/lib/rake/application.rb:108:in `run_with_threads'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.2/lib/rake/application.rb:93:in `top_level'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.2/lib/rake/application.rb:71:in `block in run'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.2/lib/rake/application.rb:158:in `standard_exception_handling'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.2/lib/rake/application.rb:68:in `run'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.0.2/bin/rake:37:in `<top (required)>'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392@global/bin/rake:19:in `load'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392@global/bin/rake:19:in `<main>'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `eval'
/Users/knightbaron/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => pkg:mposxt

I'm quite sure that I have all dependencies needed installed with Homebrew.

akari:mplayerosx-builds knightbaron$ brew list
atk     gdbm        lame        libtasn1    openjpeg    texi2html
autoconf    gdk-pixbuf  libass      libtiff     openssl     theora
automake    gettext     libbs2b     libtool     opus        wireshark
c-ares      git     libdvdcss   libvorbis   p11-kit     x264
cairo       glib        libdvdread  libvpx      pango       xvid
cscope      gmp     libffi      little-cms2 pcre        xz
ctags       gnutls      libgcrypt   lua     pixman      yasm
faac        gtk+        libgpg-error    macvim      pkg-config
ffmpeg      harfbuzz    libogg      mpg123      python
fontconfig  icu4c       libpng      mplayer2    python3
freetype    jasper      libquvi     nettle      readline
fribidi     jpeg        libsndfile  nmap        sqlite

The missing file in question could also be found at this path.

/Users/knightbaron/.homebrew/Cellar/icu4c/50.1/lib

Do you have any idea?