Libseccomp: Q: Install libseccomp on OS X

Created on 5 Oct 2019  ·  3Comments  ·  Source: seccomp/libseccomp

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

Most helpful comment

@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 !

All 3 comments

@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.

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.

@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 !

Was this page helpful?
0 / 5 - 0 ratings