Perl Oracle DBI through Apache problem

Experts,
I've been struggling with making a Perl Oracle DBI script to work through my Apache webserver.
Mysql DBI scripts work fine, but I'm having issue's with Oracle.
The oracle script works on command line, but I'm getting an
"Internal Server Error" with apache

Sourcing the oracle .bash_profile before running the Oracle CGI script on command line works great, but I can't figure out how to do with apache.

I've set up the %ENV in the perl script to match the %ENV when oracle runs the command via command line.

Here's two command that show what's going on.

[root@server1 DBD]# /u01/app/oracle/product/11.2.0/DB11G/perl/bin/perl -le 'use DBD::Oracle; print $DBD::Oracle::VERSION'
Can't load '/u01/app/oracle/product/11.2.0/DB11G/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.11.1: cannot open shared object file: No such file or directory at /u01/app/oracle/product/11.2.0/DB11G/perl/lib/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 203.
 at -e line 1
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
[oracle@server1 ~]$ /u01/app/oracle/product/11.2.0/DB11G/perl/bin/perl -le 'use DBD::Oracle; print $DBD::Oracle::VERSION'
1.20

Does anyone have any idea what's going on here?

Thanks in advance.