Hi all, don't know if this is the correct place, but here it goes...
I've created a cgi script (perl) which need to run in Tomcat 5.5. But when I try to connect to our database, the error I get is: install_driver(DB2) failed: Can't load 'w:/win32/install/core/CO_PERL/site/lib/auto/DBD/DB2/DB2.dll' for module DBD::DB2: load_file:The specified module could not be found at w:/win32/install/core/CO_PERL/lib/DynaLoader.pm line 230. at (eval 3) line 3 Compilation failed in require at (eval 3) line 3. Perhaps a required shared library or dll isn't installed where expected at W:\win32\install\core\CO_TOMCAT\webapps\xtremis\WEB-INF\cgi\present.pl line 283 If I check for the dll, I see that is present in this directory... If I copy some dll's from C:\Program Files\IBM\SQLLIB\BIN to the same directory, it works fine... But I don't think this is the way to do it. My question now is, how can I set a custom environment variable which I can use in my perl script (while running in Tomcat). Thanks! -- View this message in context: http://www.nabble.com/Running-CGI-%28Perl%29-%3D%3E-Can%27t-load-module-DBI-tp18341567p18341567.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]