Or for error of form Can't load '/tmp/perl_tmp/DBD-Oracle-1.64/blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: /tmp/perl_tmp/DBD-Oracle-1.64/blib/arch/auto/DBD/Oracle/Oracle.so: undefined symbol: charsetid at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
You run ldd -V to get a list of .so's it depends on, if any are missing, find them, adjust LD_LIBRARY_PATH
If none are missing, search each one with objdump -p ...so |grep missingsymbolname
Then search your harddisk ( locate ) for same-name-.so-s in different paths, and check with objdump if these alternates have the missingsymbolname, and adjust LD_LIBRARY_PATH
If you can't find the .so with the required symbol, upgrade, install a newver version of the library