"libsndfile was not configured correctly"

Hello, I am trying to run Nyquist on the command line as a stand alone program on x86 GNU/Linux (Gentoo). I followed the installation instructions in sys/unix/README.txt and everything went seemingly smooth, except I have failed my first test of making sound. When trying “(play (osc 60))” I get the following:
Saving sound file to /home/myusername/nyquist/./myusername-temp.wav


*** Fatal error : sizeof (off_t) != sizeof (sf_count_t)
*** This means that libsndfile was not configured correctly.

I have installed libsndfile and rebuilt nyquist (both using make clean and re-downloading from source), but I can’t seem to figure this out. The only relevant link I found was here: https://lists.cs.princeton.edu/pipermail/chuck/2004-October/000106.html.

I would really like to use Nyquist as I enjoy Lisp programming, and this seems like a perfect fit. Any help would be greatly appreciated (I don’t want to resort to emailing the author, even though he seems support-friendly enough). Thank you!

The standalone version of Nyquist is a separate project from Audacity. The home page for Nyquist is here: http://www.cs.cmu.edu/afs/cs.cmu.edu/project/music/web/music.software.html

There are significant differences between libnyquist (as used in Audacity) and the stand alone Nyquist, so we are not in a good position to offer much help.

As far as I’m aware, the current version of Nyquist is 3.15, and the source code is available here: https://sourceforge.net/projects/nyquist/files/nyquist/
I don’t know if Nyquist 3.15 requires a particular version of libsndfile, but Roger Dannenberg would be able to tell you that.

The latest version is the one I am working with. And sorry if it was in the wrong place - I thought I remembered reading on a mailing list that both Nyquist and Audacity Nyquist support should take place here (since Nyquist is such a small community).

Anyhow, thank you. I guess I’ll have to take my question to the author :open_mouth: