in reply to DBI output into browser using CGI

I think I may have found something here in the tomcat logs. INFO: cgi: runCGI (stderr):install_driver(Oracle) failed: Can't load '/usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.12.1: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 200, <CONFIG_FILE> line 5. I didn't even think of looking at these at first. d'oh. but what is weird (at least to me) is that tomcat can't load that. Another piece of the puzzle in any case.

Replies are listed 'Best First'.
Re^2: DBI output into browser using CGI
by hippo (Archbishop) on Apr 25, 2017 at 15:37 UTC
    what is weird (at least to me) is that tomcat can't load that.

    In absence of any evidence to the contrary, best guess would be because the tomcat user doesn't have LD_LIBRARY_PATH set correctly. But given that you're using tomcat to run perl CGIs pretty much anything could be going wrong, TBH.

Re^2: DBI output into browser using CGI
by billycote (Novice) on Apr 25, 2017 at 15:51 UTC
    That was my culprit :) thanks for the help and pointers guys. I'll do my best to clean the other messy parts up too