Trying to install Motion - missing libs

You could try to symlink the libraries to their old finames. If you are lucky it will work. If not, it will throw a lot of errors during compilation. But at least you tried. If you get libs from the internet, be sure that they use the same architecture. It might be best to get them from the raspbian repos if they contain them.