Coder Social home page Coder Social logo

Comments (6)

josh4trunks avatar josh4trunks commented on June 27, 2024

Maybe this is a clue
hexparrot/mineos-node#95 (comment)

from node-posix.

josh4trunks avatar josh4trunks commented on June 27, 2024

I just tested and loading this extension also doens't work on FreeBSD10.

@melor
Any idea what I FreeBSD needs to get this module to load. At one point I got an error message that I need "GLIBCXX_3.4.11" (which FreeBSD doesn't have) but I don't know how to get that error to show up again.

from node-posix.

saaros avatar saaros commented on June 27, 2024

You should compile node-posix for FreeBSD instead of trying to use Linux / GLIBC binaries which are not expected to work.

Looking at the issue you linked to it looks like something's trying to use -std=gnu++0x flag which isn't accepted by the compiler. You should try to figure out what's setting that flag and why.

from node-posix.

josh4trunks avatar josh4trunks commented on June 27, 2024

Ok, thanks for the tip. So does 'npm install posix' not compile it?

I'll pass the message along and see if we can make more progress.

from node-posix.

socodeit avatar socodeit commented on June 27, 2024

Getting error for ==> posix.chroot('/var/jail/');

Error: spawn ls ENOENT
at exports._errnoException (util.js:837:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at doNTCallback2 (node.js:429:9)
at process._tickCallback (node.js:343:17)
at Function.Module.runMain (module.js:477:11)
at startup (node.js:117:18)
at node.js:951:3

from node-posix.

melor avatar melor commented on June 27, 2024

Going thru old tickets. ENOENT means your target directory (/var/jail/) does not exist. Closing.

from node-posix.

Related Issues (20)

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.