In this instance, using a pipe (|) on the command line does not work.
Rather than using a pipe on the command line, redirect the output of the first program into a file and run the second program on that file.
A call to lseek(2) was issued to a pipe. This error condition can also be fixed by altering the program to avoid using lseek(2).
The symbolic name for this error is ESPIPE, errno=29.