http://www.perlmonks.org?node_id=1017586


in reply to Re^2: How to set LD_LIBRARY_PATH
in thread How to set LD_LIBRARY_PATH

but it likely will work if set before you load the modules.

Won't, it has to be set before you run perl