finally -wl,--no-as-needed bug solved. now compiles also in Ubuntu 11.10+ and derivates OS.