Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot load node-posix on FreeBSD 9.3 #41

Closed
josh4trunks opened this issue Dec 2, 2015 · 6 comments
Closed

Cannot load node-posix on FreeBSD 9.3 #41

josh4trunks opened this issue Dec 2, 2015 · 6 comments

Comments

@josh4trunks
Copy link

I am hitting this issue on FreeBSD 9.3.
unable to load the node-posix extension module

I haven't confirmed if this is an issue with FreeBSD 10.1 but will so. Here is where the issue came up.
hexparrot/mineos-node#95

Any assistance would be greatly appreciated. Thanks!
@thesymbol @hexparrot

@josh4trunks
Copy link
Author

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

@josh4trunks
Copy link
Author

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.

@saaros
Copy link
Member

saaros commented Dec 14, 2015

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.

@josh4trunks
Copy link
Author

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.

@socodeit
Copy link

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

@melor
Copy link
Member

melor commented Sep 9, 2016

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

@melor melor closed this as completed Sep 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants