HHVM 3.3.x for Mac OS X

作者: 空气 分类: HHVM, Mac & Mac OS X 发布时间: 2015-05-07 06:55 ė1108 6没有评论

封装可移植版本的hhvm for MacOSX,备忘下
otool -L dylib/libdwarf.3.dylib
otool -L dylib/libevent-2.0.5.dylib
otool -L dylib/libfreetype.6.dylib
otool -L dylib/libglog.0.dylib
otool -L dylib/libgmp.10.dylib
otool -L dylib/libiconv.2.dylib
otool -L dylib/libjpeg.8.dylib
otool -L dylib/liblz4.1.0.0.dylib
otool -L dylib/liblzma.5.dylib
otool -L dylib/libMagickCore-6.Q16.2.dylib
otool -L dylib/libMagickWand-6.Q16.2.dylib
otool -L dylib/libmcrypt.4.4.8.dylib
otool -L dylib/libmemcached.11.dylib
otool -L dylib/libmysqlclient.18.dylib
otool -L dylib/libonig.2.dylib
otool -L dylib/libtbb.dylib
otool -L dylib/libzip.2.dylib
otool -L dylib/sqlite/lib/libsqlite3.0.dylib
otool -L dylib/openssl/lib/libcrypto.1.0.0.dylib
otool -L dylib/openssl/lib/libssl.1.0.0.dylib
otool -L dylib/libtool/lib/libltdl.7.dylib
otool -L dylib/libpng/lib/libpng16.16.dylib
otool -L dylib/lib/libbz2.1.0.dylib
otool -L dylib/lib/libedit.3.dylib
otool -L dylib/lib/libexpat.1.dylib
otool -L dylib/lib/libexslt.0.dylib
otool -L dylib/lib/libpam.2.dylib
otool -L dylib/lib/libresolv.9.dylib
otool -L dylib/lib/libSystem.B.dylib
otool -L dylib/lib/libxml2.2.dylib
otool -L dylib/lib/libxslt.1.dylib
otool -L dylib/lib/libz.1.dylib
otool -L dylib/jemallocfb/lib/libjemalloc.1.dylib
otool -L dylib/icu4c/lib/libicudata.54.1.dylib
otool -L dylib/icu4c/lib/libicudata.54.dylib
otool -L dylib/icu4c/lib/libicui18n.54.dylib
otool -L dylib/icu4c/lib/libicuuc.54.dylib
otool -L dylib/gflags/lib/libgflags.2.dylib
otool -L dylib/gettext/lib/libintl.8.dylib
otool -L dylib/gcc/lib/libgcc_s.1.dylib
otool -L dylib/gcc/lib/libstdc++.6.dylib
otool -L dylib/curl/lib/libcurl.4.dylib

install_name_tool -change /usr/local/Cellar/gcc48/4.8.3/lib/gcc/x86_64-apple-darwin13.4.0/4.8.3/libgcc_s.1.dylib @loader_path/dylib/gcc/lib/libgcc_s.1.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/lib/gcc/x86_64-apple-darwin13.4.0/4.8.3/libstdc++.6.dylib @loader_path/dylib/gcc/lib/libstdc++.6.dylib “/Users/apple/hhvm-3.3/hhvm”

install_name_tool -change /usr/local/lib/libdwarf.3.dylib @loader_path/dylib/libdwarf.3.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/lib/libevent-2.0.5.dylib @loader_path/dylib/libevent-2.0.5.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/lib/libfreetype.6.dylib @loader_path/dylib/libfreetype.6.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/lib/libglog.0.dylib @loader_path/dylib/libglog.0.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/lib/libgmp.10.dylib @loader_path/dylib/libgmp.10.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/lib/libiconv.2.dylib @loader_path/dylib/libiconv.2.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/lib/libjpeg.8.dylib @loader_path/dylib/libjpeg.8.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/lib/liblz4.1.0.0.dylib @loader_path/dylib/liblz4.1.0.0.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/lib/libMagickCore-6.Q16.2.dylib @loader_path/dylib/libMagickCore-6.Q16.2.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/lib/libMagickWand-6.Q16.2.dylib @loader_path/dylib/libMagickWand-6.Q16.2.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/lib/libmcrypt.4.4.8.dylib @loader_path/dylib/libmcrypt.4.4.8.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/lib/libmemcached.11.dylib @loader_path/dylib/libmemcached.11.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/lib/libmysqlclient.18.dylib @loader_path/dylib/libmysqlclient.18.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/lib/libonig.2.dylib @loader_path/dylib/libonig.2.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/lib/libtbb.dylib @loader_path/dylib/libtbb.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/lib/libzip.2.dylib @loader_path/dylib/libzip.2.dylib “/Users/apple/hhvm-3.3/hhvm”

install_name_tool -change /usr/local/opt/curl/lib/libcurl.4.dylib @loader_path/dylib/curl/lib/libcurl.4.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/opt/gettext/lib/libintl.8.dylib @loader_path/dylib/gettext/lib/libintl.8.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/opt/icu4c/lib/libicudata.54.1.dylib @loader_path/dylib/icu4c/lib/libicudata.54.1.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/opt/icu4c/lib/libicui18n.54.dylib @loader_path/dylib/icu4c/lib/libicui18n.54.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/opt/icu4c/lib/libicuuc.54.dylib @loader_path/dylib/icu4c/lib/libicuuc.54.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/opt/jemallocfb/lib/libjemalloc.1.dylib @loader_path/dylib/jemallocfb/lib/libjemalloc.1.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/opt/libpng/lib/libpng16.16.dylib @loader_path/dylib/libpng/lib/libpng16.16.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib @loader_path/dylib/openssl/lib/libcrypto.1.0.0.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/opt/openssl/lib/libssl.1.0.0.dylib @loader_path/dylib/openssl/lib/libssl.1.0.0.dylib “/Users/apple/hhvm-3.3/hhvm”
install_name_tool -change /usr/local/opt/sqlite/lib/libsqlite3.0.dylib @loader_path/dylib/sqlite/lib/libsqlite3.0.dylib “/Users/apple/hhvm-3.3/hhvm”

echo “second”
install_name_tool -change /usr/local/lib/libpng16.16.dylib @loader_path/libpng/lib/libpng16.16.dylib “/Users/apple/hhvm-3.3/dylib/libfreetype.6.dylib”

install_name_tool -change /usr/local/Cellar/imagemagick/6.8.9-7/lib/libMagickCore-6.Q16.2.dylib @loader_path/libMagickCore-6.Q16.2.dylib “/Users/apple/hhvm-3.3/dylib/libMagickWand-6.Q16.2.dylib”
install_name_tool -change /usr/local/lib/libfreetype.6.dylib @loader_path/libfreetype.6.dylib “/Users/apple/hhvm-3.3/dylib/libMagickWand-6.Q16.2.dylib”
install_name_tool -change /usr/lib/liblzma.5.dylib @loader_path/liblzma.5.dylib “/Users/apple/hhvm-3.3/dylib/libMagickWand-6.Q16.2.dylib”
install_name_tool -change /usr/local/lib/libltdl.7.dylib @loader_path/libtool/lib/libltdl.7.dylib “/Users/apple/hhvm-3.3/dylib/libMagickWand-6.Q16.2.dylib”

install_name_tool -change /usr/local/lib/libfreetype.6.dylib @loader_path/libfreetype.6.dylib “/Users/apple/hhvm-3.3/dylib/libMagickCore-6.Q16.2.dylib”
install_name_tool -change /usr/lib/liblzma.5.dylib @loader_path/liblzma.5.dylib “/Users/apple/hhvm-3.3/dylib/libMagickCore-6.Q16.2.dylib”
install_name_tool -change /usr/local/lib/libltdl.7.dylib @loader_path/libtool/lib/libltdl.7.dylib “/Users/apple/hhvm-3.3/dylib/libMagickCore-6.Q16.2.dylib”

install_name_tool -change /usr/local/opt/openssl/lib/libssl.1.0.0.dylib @loader_path/openssl/lib/libssl.1.0.0.dylib “/Users/apple/hhvm-3.3/dylib/libmysqlclient.18.dylib”
install_name_tool -change /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib @loader_path/openssl/lib/libcrypto.1.0.0.dylib “/Users/apple/hhvm-3.3/dylib/libmysqlclient.18.dylib”

install_name_tool -change /usr/local/Cellar/openssl/1.0.1j/lib/libcrypto.1.0.0.dylib @loader_path/libcrypto.1.0.0.dylib “/Users/apple/hhvm-3.3/dylib/openssl/lib/libssl.1.0.0.dylib”

install_name_tool -change /usr/local/opt/gflags/lib/libgflags.2.dylib @loader_path/gflags/lib/libgflags.2.dylib “/Users/apple/hhvm-3.3/dylib/libglog.0.dylib”
install_name_tool -change /usr/local/lib/gcc/x86_64-apple-darwin13.4.0/4.8.3/libstdc++.6.dylib @loader_path/gcc/libstdc++.6.dylib “/Users/apple/hhvm-3.3/dylib/libglog.0.dylib”
install_name_tool -change /usr/local/Cellar/gcc48/4.8.3/lib/gcc/x86_64-apple-darwin13.4.0/4.8.3/libgcc_s.1.dylib @loader_path/gcc/libgcc_s.1.dylib “/Users/apple/hhvm-3.3/dylib/libglog.0.dylib”

install_name_tool -change /usr/local/Cellar/gcc48/4.8.3/lib/gcc/x86_64-apple-darwin13.4.0/4.8.3/libgcc_s.1.dylib @loader_path/libgcc_s.1.dylib “/Users/apple/hhvm-3.3/dylib/gcc/lib/libstdc++.6.dylib”

分享此文到:

本文出自 空气的时光记事本,非注明转载皆为原创,转载时请注明出处及相应链接。

本文永久链接: http://www.liujingze.com/hhvm-3-3-2-for-macosx.html

发表评论

电子邮件地址不会被公开。 必填项已用*标注

*