Giter Site home page Giter Site logo

Comments (7)

kcampion avatar kcampion commented on July 21, 2024

I found this explanation:

That means the program was compiled against glibc version 2.14, and it requires that version to run, but your system has an older version installed. You'll need to either recompile the program against the version of glibc that's on your system, or install a newer version of glibc (the "libc6" package in Debian).

Is it possible to tell to "nsutil" to use an old version of glibc file if I put the old file near source code?

from nsutil.

x6doooo avatar x6doooo commented on July 21, 2024

the prebuild binaries are based on glibc 2.13
i think you should to run 'node-gyp configure build’, it will recompile the source codes on your system.

from nsutil.

kcampion avatar kcampion commented on July 21, 2024

With "node-gyp configure build" into "node_modules/nsutil", I've:

node_modules/nsutil# node-gyp configure build
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info spawn python
gyp info spawn args [ '/usr/local/lib/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   '/root/project/src/node_modules/nsutil/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/local/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/root/.node-gyp/0.10.33/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/root/.node-gyp/0.10.33',
gyp info spawn args   '-Dmodule_root_dir=/root/project/src/node_modules/nsutil',
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=.' ]
make: entrant dans le répertoire « /root/project/src/node_modules/nsutil/build »
  CXX(target) Release/obj.target/nsutil_linux/src/sutil/sutil_linux.o
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
cc1plus: error: unrecognized command line option "-std=c++11"
make: *** [Release/obj.target/nsutil_linux/src/sutil/sutil_linux.o] Erreur 1
make: quittant le répertoire « /root/project/src/node_modules/nsutil/build »
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Linux 2.6.26-2-amd64
gyp ERR! command "node" "/usr/local/bin/node-gyp" "configure" "build"
gyp ERR! cwd /root/project/src/node_modules/nsutil
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok

from nsutil.

x6doooo avatar x6doooo commented on July 21, 2024

you need to update g++ >= 4.7

from nsutil.

kcampion avatar kcampion commented on July 21, 2024

It's not possible under my system, have you got another way to use nsutil?

from nsutil.

x6doooo avatar x6doooo commented on July 21, 2024

which version of system are you running? 32bit or 64 bit? i will complie program using 2.14 glibc

from nsutil.

kcampion avatar kcampion commented on July 21, 2024

Do not bother you, because I need it for 32bit and 64bit compiled with 2.7 (Lenny) and 2.11.3 (Squeeze). I will search another solution. Thank you.

from nsutil.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.