res_odbc UnixODBC FC5

I just downloaded the latest trunk Asterisk SVN-trunk-r41696 on FC5.

This installation has unixODBC 2.2.11-6.2.1

Still, res_odbc is not compiling.

When I did ./configure --with-odbc USE_UNIXODBC=yes

I get the following error

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

Does any one know which version of unixODBC is needed for the latest trunk? Am I missing something?

res_odbc worked fine with asterisk 1.2.1. on the same box.

Following did the trick.

yum install libtool-ltdl-devel