Hello everyone,

First, please forgive the cross-post, but it's hard to decide which list
this belongs too.

I'm running RH 7.3, Apache 1.3.26, mod_perl 1.26, Perl 5.6.1 all
installed/upgraded from RH.  Using the Single-Tier Format ODBC driver(s)
(5.1) from openlinksw.com connecting to a MS SQL Server 2000.  Running
DBD::ODBC 1.06, Apache::DBI 0.92, and DBI 1.39.

The unixODBC Driver Manager came with RH 7.3 and the Openlink drivers
have the iODBC DM that it uses.  I compiled DBD::ODBC to use the iODBC
DM.  ODBCHOME is set to the appropriate path.

First, let me state that mod_perl and all of the DBI related drivers are
working quite well.

I am able to setup a DSN and use it successfully via a "regular" perl
script, but when I try to have Apache::DBI connect to it in my
startup.pl I get a message in the log stating that the DSN wasn't
defined in the unixODBC DM.  This is correct, but why is mod_perl using
the unixODBC DM instead of the iODBC DM?  My suspicion is that mod_perl
and unixODBC came as RPMs with RH 7.3 and they were already "linked"
together.  I've tried providing all of the ENV variables (ODBCHOME
included) that are set in the users .bash_profile in relation to the
OpenLink Drivers, but that doesn't seem to do any good.

If I need to post logs, etc. just let me know.

Can anyone offer any suggestions?

Thanks,
Kevin   
-- 
Kevin Old <[EMAIL PROTECTED]>


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to