./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

Comments

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

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

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

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

    Change first line of configure script from

    #! /bin/sh

    to

    #! /bin/bash

    or to wherever bash is.

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

    ReplyDelete

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