Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.09 KB

README.md

File metadata and controls

32 lines (26 loc) · 1.09 KB

Multi Architecture Support

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.

-lwrap library not found

  • 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 to libwrap.so.x, which in turn is a symbolic link to the actual library libwrap.so.x.x.x.

Multilib

  • Make sure g++-multilib, gcc-multilib are installed/updated.

Compiling 32-bit version of nlopt

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.