I don't think you need sudo, that may be the problem.
Also, you don't need to run the installer as sudo either
You can
echo $LD_LIBRARY_PATH to see if its set
When I sudo su and I'm root and I run the above command it gives me the correct result but when I go to run the install script it gives me the same error as before.