Currently We are using TeamSite 6.5 on 32bit Solaris 8. We have been using DBI/DBD perl modules from long time (since 2003). We have most of the code in perl. We ever had any issue with recompiling DBI/DBD perl modules before, as Solaris 8 and iw-perl are 32 bit version.
Now We are moving to TeamSite 7.2.1 on Linux virtual sever - 64bit system(OS: RHEL 5.5).
iw-perl that comes with TeamSite is 32bit and OS is 64bit.
We are trying recompile DBI/DBD:

racle modules, to connect to Oracle 11g database.
We set the ORACLE_HOME to Oracle 11g 32bit client, updated PATH and LD_LIBRARY_PATH information.
# echo $ORACLE_HOME
/www/oracle/product/11.2.0.2_32
# echo $PATH
/www/TeamSite/iw-perl/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/nsh/bin:/usr/nsh/sbin:/www/oracle/product/11.2.0.2_32/bin:/www/jdk1.6.0_24/bin:/root/bin:/www/oracle/product/11.2.0.2_32/bin
# echo $LD_LIBRARY_PATH
/www/oracle/product/11.2.0.2_32/lib:/www/oracle/product/11.2.0.2_32/rdbms/lib:/usr/nsh/lib
# echo $LD_RUN_PATH
/www/oracle/product/11.2.0.2_32/lib:/www/oracle/product/11.2.0.2_32/rdbms/lib:/usr/nsh/lib
DBI/DBD:

racle make commands throughing the errors because of the 32bit iw-perl and 64bit system lib's.
Can anyone please help me get a workaround for this?
Thanks
Srini