On Thu, 2008-04-10 at 16:08 +0200, Peter J. Holzer wrote: > On 2008-04-10 08:27:06 -0500, James H. McCullars wrote: > > At 02:17 AM 4/10/2008, Peter J. Holzer wrote: > > >>I've just been through an install of DBD::Oracle on a Solaris 10 > > >>machine and this was my experience as well. My needs were > > >>complicated by the fact that I was running it as a CGI script and > > >>thus did not have a way to easily set an environment variable. > > > > > >$ENV{LD_LIBRARY_PATH} = ...; > > > > That doesn't work from a CGI script. > > Yes, it does. I have quite a few CGI scripts which use this technique. > > Why shouldn't it work with a CGI script? I can think of reasons why it > wouldn't work with mod_perl, but none for a CGI script. > > hp
I believe that LD_LIBRARY_PATH must already be set when the driver gets loaded, so if it is not working, try setting it before using DBI->connect(). Ulisses