Skip to content

Instantly share code, notes, and snippets.

@willybeans
Created January 9, 2017 15:35
Show Gist options
  • Save willybeans/45d5519db4e3df7bf19f231c38b4467e to your computer and use it in GitHub Desktop.
Save willybeans/45d5519db4e3df7bf19f231c38b4467e to your computer and use it in GitHub Desktop.
Binary found at /Users/williamwedmedyk/osx-gcc/node_modules/node-sass/vendor/darwin-x64-48/binding.node
Testing binary
Binary has a problem: Error: dlopen(/Users/williamwedmedyk/osx-gcc/node_modules/node-sass/vendor/darwin-x64-48/binding.node, 1): Symbol not found: __ZNKSt3__119__shared_weak_count13__get_deleterERKSt9type_info
Referenced from: /Users/williamwedmedyk/osx-gcc/node_modules/node-sass/vendor/darwin-x64-48/binding.node
Expected in: flat namespace
in /Users/williamwedmedyk/osx-gcc/node_modules/node-sass/vendor/darwin-x64-48/binding.node
at Error (native)
at Object.Module._extensions..node (module.js:597:18)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at module.exports (/Users/williamwedmedyk/osx-gcc/node_modules/node-sass/lib/binding.js:19:10)
at Object.<anonymous> (/Users/williamwedmedyk/osx-gcc/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (module.js:570:32)
Building the binary locally
Building: /usr/local/bin/node /Users/williamwedmedyk/osx-gcc/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ '/usr/local/bin/node',
gyp verb cli '/Users/williamwedmedyk/osx-gcc/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library=' ]
gyp info using node-gyp@3.4.0
gyp info using node@6.9.1 | darwin | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed at getNotFoundError (/Users/williamwedmedyk/osx-gcc/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/Users/williamwedmedyk/osx-gcc/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/Users/williamwedmedyk/osx-gcc/node_modules/which/which.js:80:29)
gyp verb `which` failed at /Users/williamwedmedyk/osx-gcc/node_modules/which/which.js:89:16
gyp verb `which` failed at /Users/williamwedmedyk/osx-gcc/node_modules/isexe/index.js:44:5
gyp verb `which` failed at /Users/williamwedmedyk/osx-gcc/node_modules/isexe/access.js:8:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:123:15)
gyp verb `which` failed python2 { Error: not found: python2
gyp verb `which` failed at getNotFoundError (/Users/williamwedmedyk/osx-gcc/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/Users/williamwedmedyk/osx-gcc/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/Users/williamwedmedyk/osx-gcc/node_modules/which/which.js:80:29)
gyp verb `which` failed at /Users/williamwedmedyk/osx-gcc/node_modules/which/which.js:89:16
gyp verb `which` failed at /Users/williamwedmedyk/osx-gcc/node_modules/isexe/index.js:44:5
gyp verb `which` failed at /Users/williamwedmedyk/osx-gcc/node_modules/isexe/access.js:8:5
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOENT' }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python /usr/bin/python
gyp verb check python version `/usr/bin/python -c "import platform; print(platform.python_version());"` returned: "2.6.1\n"
gyp verb get node dir no --target version specified, falling back to host node version: 6.9.1
gyp verb command install [ '6.9.1' ]
gyp verb install input version string "6.9.1"
gyp verb install installing version: 6.9.1
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 6.9.1
gyp verb build dir attempting to create "build" dir: /Users/williamwedmedyk/osx-gcc/node_modules/node-sass/build
gyp verb build dir "build" dir needed to be created? /Users/williamwedmedyk/osx-gcc/node_modules/node-sass/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /Users/williamwedmedyk/osx-gcc/node_modules/node-sass/build/config.gypi
gyp verb config.gypi checking for gypi file: /Users/williamwedmedyk/osx-gcc/node_modules/node-sass/config.gypi
gyp verb common.gypi checking for gypi file: /Users/williamwedmedyk/osx-gcc/node_modules/node-sass/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python
gyp info spawn args [ '/Users/williamwedmedyk/osx-gcc/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/williamwedmedyk/osx-gcc/node_modules/node-sass/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/williamwedmedyk/osx-gcc/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/williamwedmedyk/.node-gyp/6.9.1/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/williamwedmedyk/.node-gyp/6.9.1',
gyp info spawn args '-Dnode_gyp_dir=/Users/williamwedmedyk/osx-gcc/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/williamwedmedyk/osx-gcc/node_modules/node-sass',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /Users/williamwedmedyk/.node-gyp/6.9.1
gyp verb 'which' succeeded for 'make' /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
g++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.4.3"' -I/Users/williamwedmedyk/.node-gyp/6.9.1/include/node -I/Users/williamwedmedyk/.node-gyp/6.9.1/src -I/Users/williamwedmedyk/.node-gyp/6.9.1/deps/uv/include -I/Users/williamwedmedyk/.node-gyp/6.9.1/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/ast.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/ast.o ../src/libsass/src/ast.cpp
cc1plus: error: unrecognized command line option "-std=c++11"
cc1plus: error: unrecognized command line option "-stdlib=libc++"
make: *** [Release/obj.target/libsass/src/libsass/src/ast.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: 'make' failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/williamwedmedyk/osx-gcc/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 10.8.0
gyp ERR! command "/usr/local/bin/node" "/Users/williamwedmedyk/osx-gcc/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Users/williamwedmedyk/osx-gcc/node_modules/node-sass
gyp ERR! node -v v6.9.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
Build failed with error code: 1
npm WARN enoent ENOENT: no such file or directory, open '/Users/williamwedmedyk/osx-gcc/package.json'
npm WARN osx-gcc No description
npm WARN osx-gcc No repository field.
npm WARN osx-gcc No README data
npm WARN osx-gcc No license field.
npm ERR! Darwin 10.8.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "i" "-S" "node-sass-middleware"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! node-sass@4.2.0 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.2.0 postinstall script 'node scripts/build.js'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment