I have been tearing my hair out over this issue.. whenever I try to run any
CGI (perl) script setuid, I get this:

/usr/bin/perl: error while loading shared libraries: libperl.so: cannot open
shared object file: No such file or directory

This makes absolutely no sense, because libperl.so is there, and setuid
scripts work fine from the command line..
libperl.so is located here:

I have tried the following: adding that path to /etc/ld.so.conf, adding it
to an env variable LD_LIBRARY_PATH, and symlinking it to /usr/lib and
/usr/local/lib.. none of these have worked..

Any suggestions ?