res_odbc problem in FC5

In the latest trunk(SVN-trunk-r42208), res_odbc is not compiling.

I am using FC5 with unixODBC 2.2.11-6.2.1.

configure --with-odbc is throwing following error message.

checking for SQLConnect in -lodbc… no
configure: ***
configure: *** The unixODBC installation on this system appears to be broken.
configure: *** without explicitly specifying --with-odbc

On the same box, asterisk 1.2.1 compiled fine and was able to use RealTime without any problems. I reinstalled unixODBC and still throwing the same error.

Is this a bug or do I need a new version of unixODBC?

Following did the trick.

yum install libtool-ltdl-devel

Thanks