Saturday, February 14, 2009

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

5 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