RE: [Info-ingres] ingres/apache/linux/DBD -
03-18-2005
, 05:25 PM
I would suggest exporting II_SYSTEM, PATH and LD_LIBRARY_PATH in
apachetl script from the bin directory of your Apache installation.
In httpd.conf you should have PassEnv directive and not SetEnv for
II_SYSTEM, LD_LIBRARY_PATH and PATH.
At least this is how I did for Apache and PHP and Ingres combination and
it works fine.
Hope this helps,
Cheers,
Armand
-----Original Message-----
From: info-ingres-admin (AT) cariboulake (DOT) com
[mailto:info-ingres-admin (AT) cariboulake (DOT) com] On Behalf Of Dennis Roesler
Sent: Friday, March 18, 2005 2:05 PM
To: info-ingres (AT) cariboulake (DOT) com
Subject: [Info-ingres] ingres/apache/linux/DBD
Linux:
Fedora Core release 3 (Heidelberg)
Kernel 2.6.10-1.770_FC3 on an i686
Ingres: II 3.0.1 (int.lnx/109)
Apache: 2.0
Perl: v5.8.5
This isn't really an ingres question per se, but I thought someone may
have run into this and know what the fix is.
When I try an http access to a perl cgi script that uses DBI I get the
error shown below. I've SetEnv for II_SYSTEM and LD_LIBRARY_PATH in
httpd.conf but that doesn't seem to have any effect (I use the same
value that I use for ingres' or root's .profile). I have no problem
running the script as the ingres user, or as root, from the command
line.
I was reading a comment in the Dynaloader.pm module that says this error
could be misleading. Other perl scripts work ok from Apache.
Thanks
Dennis
d underscore roesler at agilent dot com
install_driver(Ingres) failed: Can't load
'/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Ingres/
Ingres.so'
for module DBD::Ingres: libinterp.1.so: cannot open shared object file:
No such file or directory at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at (eval 2) line 3
_______________________________________________
Info-ingres mailing list
Info-ingres (AT) cariboulake (DOT) com
http://mailman.cariboulake.com/mailm...py/info-ingres |