Here I'm just speculating, but from yout previous post it seems you are compiling with "all shared" link mode, which produce ".so"s.
And the compiler cannot find a plugin_z.so. Maybe you just need to produce less ".so"s. Try to switch to "Use shared libs" mode instead of "All shared" in Build->Output.