We're running TS 6.5 + Search SP1 on Solaris 9. We have the DBD:

B2 driver for Perl installed, but it requires a couple of environment variables, namely DB2INSTANCE and LD_LIBRARY_PATH, to be set. We're having trouble setting the latter from within a Perl module. I posted this matter at
http://devnet.interwoven.com/forums/cgi-bin/showflat.pl?Cat=&Board=perl&Number=67109&page=0&view=collapsed&sb=5&o=&part=.
We are connecting to a DB2 database from within a workflow External task (at least).
As a workaround, what's the best place to define LD_LIBRARY_PATH (without having to make a lot of changes)? Replace
/iw-perl/bin/iwperl with a "wrapper" shell script that sets the environment variables and then calls /iw-perl/bin/perl?
Or set and export LD_LIBRARY_PATH in /private/bin/iwuiboot?
Thanks,
S.