./configure: 123: Syntax error: Bad fd number"

While compiling fftv I got a strange error.

./configure: 123: Syntax error: Bad fd number"

The fix for this is:

sudo mv /bin/sh /bin/sh.bkp
sudo ln -s /bin/bash /bin/sh


  1. great ! it worked !! solved my problem. thanks a lot :)

  2. yeah that work for me too, thank you for share the solution !! :D

  3. excellent! wish i had seen this before wasting an hour trying to figure it out! Thanks!!!

  4. Won't the following be easier in many cases ?

    Change first line of configure script from

    #! /bin/sh


    #! /bin/bash

    or to wherever bash is.

  5. In that way you have to change in every script.


Post a Comment

Comments are moderated. No spam please.

Popular posts from this blog

Perm Root HTC Desire Gingerbread 2.3.3

Increase Free Space On HTC Desire Android Phones

Lenovo Y510 surround sound in Ubuntu