http://bugs.winehq.org/show_bug.cgi?id=3609
------- Additional Comments From infyquest@gmail.com 2005-17-10 10:20 ------- i think you are trying to compile for 32 bit and linking 64 bit libraries or vice-versa
check the elfclass of the libraries in both directories