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

Q: Install libseccomp on OS X #173

Closed
erdumbledore opened this issue Oct 5, 2019 · 3 comments
Closed

Q: Install libseccomp on OS X #173

erdumbledore opened this issue Oct 5, 2019 · 3 comments

Comments

@erdumbledore
Copy link

I am trying to install libseccomp on osx. libseccomp is a dependency for a code evaluation software that I am tyring to install. I am unable to install/build libseccomp on osx. I get errors for missing dependencies - first got missing endian.h; fixed it but then got missing elf.h; fixed it but then got missing elftypes.h.
I think I am not building the repo in a proper way. Is there any doc on how to build/install the repo on osx ?

OS details:
macOS Mojave - 10.14.5
Have already install xcode

@roryrjb
Copy link

roryrjb commented Oct 6, 2019

@erdumbledore seccomp is a Linux specific technology that requires the Linux kernel. If you need this on OSX then you'll need to use virtualisation. Perhaps Docker on OSX would make this pretty straightforward for your project.

@pcmoore pcmoore changed the title Install libseccomp on Osx Q: Install libseccomp on OS X Oct 7, 2019
@pcmoore
Copy link
Member

pcmoore commented Oct 7, 2019

As @roryrjb already said, libseccomp relies on functionality that is currently only present in the Linux Kernel; other OSes, such as OS X, will not work.

Closing this issue.

@pcmoore pcmoore closed this as completed Oct 7, 2019
@erdumbledore
Copy link
Author

@erdumbledore seccomp is a Linux specific technology that requires the Linux kernel. If you need this on OSX then you'll need to use virtualisation. Perhaps Docker on OSX would make this pretty straightforward for your project.

@roryrjb Thanks for the response. Tried installing it with docker and it worked !

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

3 participants