{"id":6792,"date":"2014-04-23T08:06:18","date_gmt":"2014-04-23T08:06:18","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/23\/undefined-symbol-__gmp_get_memory_functions-collection-of-common-programming-errors\/"},"modified":"2014-04-23T08:06:18","modified_gmt":"2014-04-23T08:06:18","slug":"undefined-symbol-__gmp_get_memory_functions-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/23\/undefined-symbol-__gmp_get_memory_functions-collection-of-common-programming-errors\/","title":{"rendered":"undefined symbol: __gmp_get_memory_functions-Collection of common programming errors"},"content":{"rendered":"<p>I get this gitlab install error.<\/p>\n<p>Does anyone know why?<\/p>\n<p>log:<\/p>\n<pre><code>[git@ictiy-01 gitlab]$ sudo -u git -H bundle install --deployment --without development test postgres aws\nFetching source index from https:\/\/rubygems.org\/\nUsing rake (10.1.0)\nUsing i18n (0.6.9)\nUsing minitest (4.7.5)\nUsing multi_json (1.8.2)\nUsing atomic (1.1.14)\nUsing thread_safe (0.1.3)\nUsing tzinfo (0.3.38)\nUsing activesupport (4.0.2)\nUsing builder (3.1.4)\nUsing erubis (2.7.0)\nUsing rack (1.5.2)\nUsing rack-test (0.6.2)\nUsing actionpack (4.0.2)\nUsing mime-types (1.25.1)\nUsing polyglot (0.3.3)\nUsing treetop (1.4.15)\nUsing mail (2.5.4)\nUsing actionmailer (4.0.2)\nUsing actionpack-action_caching (1.1.0)\nUsing actionpack-page_caching (1.0.2)\nUsing activemodel (4.0.2)\nUsing activerecord-deprecated_finders (1.0.3)\nUsing arel (4.0.1)\nUsing activerecord (4.0.2)\nUsing bundler (1.5.1)\nUsing thor (0.18.1)\nUsing railties (4.0.2)\nUsing hike (1.2.3)\nUsing tilt (1.4.1)\nUsing sprockets (2.10.1)\nUsing sprockets-rails (2.0.1)\nUsing rails (4.0.2)\nUsing acts-as-taggable-on (2.4.1)\nUsing asciidoctor (0.1.4)\nUsing descendants_tracker (0.0.3)\nUsing ice_nine (0.10.0)\nUsing axiom-types (0.0.5)\nUsing bcrypt-ruby (3.1.2)\nUsing sass (3.2.12)\nUsing bootstrap-sass (2.3.2.2)\nUsing json (1.8.1)\nUsing carrierwave (0.9.0)\nUsing timers (1.1.0)\nUsing celluloid (0.15.2)\nUsing charlock_holmes (0.6.9.4)\nUsing coffee-script-source (1.6.3)\nUsing execjs (2.0.2)\nUsing coffee-script (2.2.0)\nUsing coffee-rails (4.0.1)\nUsing chunky_png (1.2.9)\nUsing fssm (0.2.10)\nUsing compass (0.12.2)\nUsing compass-rails (1.1.1)\nUsing sass-rails (4.0.1)\nUsing chosen-rails (1.0.1)\nUsing coercible (1.0.0)\nUsing colored (1.2)\nUsing connection_pool (1.2.0)\nUsing d3_rails (3.1.10)\nUsing orm_adapter (0.5.0)\nUsing warden (1.2.3)\nUsing devise (3.0.4)\nUsing devise-async (0.8.0)\nUsing diff-lcs (1.2.5)\nUsing dotenv (0.9.0)\nUsing enumerize (0.7.0)\nUsing equalizer (0.0.8)\nUsing escape_utils (0.2.4)\nUsing eventmachine (1.0.3)\nUsing multipart-post (1.2.0)\nUsing faraday (0.8.8)\nUsing faraday_middleware (0.9.0)\nUsing font-awesome-rails (3.2.1.3)\nUsing foreman (0.63.0)\nUsing gemoji (1.3.1)\nUsing github-markdown (0.5.5)\nUsing github-markup (0.7.5)\nUsing posix-spawn (0.3.6)\nUsing gitlab-grit (2.6.3)\nUsing gitlab-flowdock-git-hook (0.4.2.2)\nUsing yajl-ruby (1.1.0)\nUsing gitlab-pygments.rb (0.5.4)\nUsing nokogiri (1.5.10)\nUsing sanitize (2.0.6)\nUsing stringex (1.5.1)\nUsing gitlab-gollum-lib (1.0.2)\nUsing gitlab-grack (2.0.0.pre)\nUsing gitlab-linguist (2.9.6)\nUsing gitlab_git (4.0.0.pre)\nUsing gitlab_meta (6.0)\nUsing net-ldap (0.3.1)\nUsing hashie (2.0.5)\nUsing omniauth (1.1.4)\nUsing pyu-ruby-sasl (0.0.3.3)\nUsing rubyntlm (0.1.1)\nUsing gitlab_omniauth-ldap (1.0.3)\nUsing gon (5.0.0)\nUsing multi_xml (0.5.5)\nUsing rack-accept (0.4.5)\nUsing rack-mount (0.8.3)\nUsing virtus (1.0.1)\nUsing grape (0.6.1)\nUsing grape-entity (0.3.0)\nUsing haml (4.0.4)\nUsing haml-rails (0.5.1)\nUsing httparty (0.12.0)\nUsing hipchat (0.9.0)\nUsing http_parser.rb (0.5.3)\nUsing httpauth (0.2.0)\nUsing jquery-atwho-rails (0.3.3)\nUsing jquery-rails (2.1.3)\nUsing turbolinks (2.0.0)\nUsing jquery-turbolinks (2.0.1)\nUsing jquery-ui-rails (2.0.2)\nUsing jwt (0.1.8)\nUsing kaminari (0.14.1)\nUsing kgio (2.8.1)\n\/usr\/local\/lib\/ruby\/2.0.0\/rubygems\/ext\/builder.rb:54: warning: Insecure world writable dir \/usr\/local\/java\/bin in PATH, mode 040777\n\nGem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.\n\n    \/usr\/local\/bin\/ruby extconf.rb \ncreating Makefile\n\/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/ext\/libv8\/builder.rb:87: warning: Insecure world writable dir \/usr\/local\/java\/bin in PATH, mode 040777\nCompiling v8 for ia32\nUsing python 2.7.6\nUsing compiler: \/usr\/bin\/g++\n\/usr\/local\/gcc\/libexec\/gcc\/i686-pc-linux-gnu\/4.6.1\/cc1plus: symbol lookup error: \/usr\/local\/mpfr\/lib\/libmpfr.so.1: undefined symbol: __gmp_get_memory_functions\ngmake[1]: *** [\/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/v8_base\/src\/assembler.o] Error 1\ngmake: *** [ia32.release] Error 2\n\/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/ext\/libv8\/location.rb:36:in `block in verify_installation!': libv8 did not install properly, expected binary v8 archive '\/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/tools\/gyp\/libv8_base.a'to exist, but it was not found (Libv8::Location::Vendor::ArchiveNotFound)\n    from \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/ext\/libv8\/location.rb:35:in `each'\n    from \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/ext\/libv8\/location.rb:35:in `verify_installation!'\n    from \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/ext\/libv8\/location.rb:26:in `install!'\n    from extconf.rb:7:in `'\nGYP_GENERATORS=make \\\n    build\/gyp\/gyp --generator-output=\"out\" build\/all.gyp \\\n                  -Ibuild\/standalone.gypi --depth=. \\\n                  -Dv8_target_arch=ia32 \\\n                  -S.ia32  -Dv8_enable_backtrace=1 -Dv8_can_use_vfp2_instructions=true -Darm_fpu=vfpv2 -Dv8_can_use_vfp3_instructions=true -Darm_fpu=vfpv3\ngmake[1]: Entering directory `\/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out'\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser_lib\/src\/allocation.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser_lib\/src\/atomicops_internals_x86_gcc.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser_lib\/src\/bignum.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser_lib\/src\/bignum-dtoa.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser_lib\/src\/cached-powers.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser_lib\/src\/conversions.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser_lib\/src\/diy-fp.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser_lib\/src\/dtoa.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser_lib\/src\/fast-dtoa.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser_lib\/src\/fixed-dtoa.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser_lib\/src\/once.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser_lib\/src\/preparse-data.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser_lib\/src\/preparser.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser_lib\/src\/preparser-api.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser_lib\/src\/scanner.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser_lib\/src\/strtod.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser_lib\/src\/token.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser_lib\/src\/unicode.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser_lib\/src\/utils.o\n  AR(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/tools\/gyp\/libpreparser_lib.a\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/preparser\/preparser\/preparser-process.o\n  LINK(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/preparser\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/v8_base\/src\/accessors.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/v8_base\/src\/allocation.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/v8_base\/src\/api.o\n  CXX(target) \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out\/ia32.release\/obj.target\/v8_base\/src\/assembler.o\ngmake[1]: Leaving directory `\/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/vendor\/v8\/out'\n\n\nGem files will remain installed in \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3 for inspection.\nResults logged to \/home\/git\/gitlab\/vendor\/bundle\/ruby\/2.0.0\/gems\/libv8-3.16.14.3\/ext\/libv8\/gem_make.out\nAn error occurred while installing libv8 (3.16.14.3), and Bundler cannot\ncontinue.\nMake sure that `gem install libv8 -v '3.16.14.3'` succeeds before bundling.\n[git@ictiy-01 gitlab]$ \n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I get this gitlab install error. Does anyone know why? log: [git@ictiy-01 gitlab]$ sudo -u git -H bundle install &#8211;deployment &#8211;without development test postgres aws Fetching source index from https:\/\/rubygems.org\/ Using rake (10.1.0) Using i18n (0.6.9) Using minitest (4.7.5) Using multi_json (1.8.2) Using atomic (1.1.14) Using thread_safe (0.1.3) Using tzinfo (0.3.38) Using activesupport (4.0.2) Using [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6792","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6792","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6792"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6792\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6792"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6792"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}