If you are using a 64bit architecture, see https://wiki.debian.org/Multiarch/HOWTO to enable multi-arch support. CFS builds 32 bit binaries and hence you will have to enable multi-arch support.
- Use
find / -name libwrap*
to check if the tcp wrapper library is available. It is typically
located under /lib/x86_64-linux-gnu
or
i386-linux-gnu
.
- If
libwrap
is not available, install it:
sudo apt-get install tcpd tcpd:i386
- Make sure
libwrap.so
is symbolically linked tolibwrap.so.x
, which in turn is a symbolic link to the actual librarylibwrap.so.x.x.x
.
- Make sure g++-multilib, gcc-multilib are installed/updated.
Since cFS works with 32-bit binaries, nlopt should be compiled for use on a 32 bit architecture.
- create a new build directory within the nlopt directory (nlopt root folder)
- ../configure CC="gcc -m32" CXX="g++ -m32" --prefix=</usr/lib/i386-linux-gnu/nlopt>
- Note: the --prefix determines the installation folder. Select a suitable location.