Mabuhay DBI Developers! Im currently testing a script that must be run via the web server. I can run in perl debugger and in ./ the script without any error. But when i view the .pl script in my browser, i receive this error:
Software error: install_driver(Pg) failed: [Fri Sep 20 12:08:05 2002] index.pl: [Fri Sep 20 12:08:05 2002] index.pl: Can't load '/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBD/Pg/Pg.so' for module DBD::Pg: Shared object "libpq.so.2" not found at /usr/libdata/perl/5.00503/DynaLoader.pm line 169. [Fri Sep 20 12:08:05 2002] index.pl: [Fri Sep 20 12:08:05 2002] index.pl: [Fri Sep 20 12:08:05 2002] index.pl: [Fri Sep 20 12:08:05 2002] index.pl: at (eval 124) line 3 Perhaps a required shared library or dll isn't installed where expected at /usr/local/OpenTRS/bin/cgi-bin/../../Kernel/System/DB.pm line 67 Please share your experience on how you get around this problem. My machine is FreeBSD-4.4, with Apache-1.3.26, Postgres-7.1 and a some non-web scripts currently using DBD::Pg which are working fine. Thanks, edwin ------------------------------------------------------------------------------------------------------------------ The essential thing is not the triumph but the struggle; The important thing is not to have conquered but to have fought well. Edwin D. Vi�as http://www.geocities.com/edwin_vinas Science Research Specialist II Philippine Research Education and Government Information Network ------------------------------------------------------------------------------------------------------------------
