is it possible that PHP driver running on 64 bits platform is not working ?

I have a problem while compiling PHP driver when running ./configure

checking for Advantage support... yes
checking for SQLAllocEnv in -ladsodbc... no
configure: error: wrong advantage lib version or lib not found


But if I follow the exact same steps on a 32 bits machine, everything looks

Thanks for any help