Just to verify:
1) If you were using the db on the same machine, set the db env using oraenv and then the brm env using source.me.sh. then try pin_setup. Due to improper env variables, the .so files may not find the libraries properly.
You can check the .so file's validity using ldd command.
2) If the pin_setup failed, some of the processes will still be runnning in the background. So ensure to restart os or kill all relevant processes before retrying the same.