Compiling libunac-1.8.0 on FreeBSD

If you’re having a problem finding iconv on FreeBSD when trying to install libunac:

  1. Make sure you have GNU libiconv installed from the ports collection.
  2. Run the configure script with the following linker argument
sudo ./configure LDFLAGS="/usr/local/lib/libiconv.so -R/usr/local/lib"