in reply to Re: Problem Using DBI , DBD
in thread Problem Using DBI , DBD

There were quite a lot of messages that scrolled past, but the Makefile was giving a problem, our DBA commented out those lines as the comments said that that code was for backward compatibility, the whole thing went off smoothly then. Would you recommend to remake perl, could I do that alone or do I need to remake DBI and DBD as well. Could I have the steps so that I don't miss any this time. According to me : 1) Download Perl (Not the binary which I did) 2) Make Perl 3) Download DBI , DBD for Oracle 4) Make DBI Install... 5) Make DBD Install... Do I need to set anything in my $PATH. I can run simple perl scripts which uses CGI. Does it look into different directories for CGI and DBI, I have quite a few of these DBI hanging around now, how can I be sure that the correct one is being used.

Replies are listed 'Best First'.
Re: Re: Answer: Problem Using DBI , DBD
by davorg (Chancellor) on Dec 21, 2000 at 15:32 UTC

    I'd recommend building and installing perl, DBI and DBD::Oracle from scratch.

    You can find out which directories perl searches for libraries by examining the contents of the @INC array or typing

    perl -V

    at your command line.

    --
    <http://www.dave.org.uk>

    "Perl makes the fun jobs fun
    and the boring jobs bearable" - me

Re: Re: Answer: Problem Using DBI , DBD
by Fastolfe (Vicar) on Dec 22, 2000 at 01:06 UTC
    Somehow something didn't get built or installed. When building all of this, it'll create an Oracle.so file and place it in its proper place in your Perl lib directory. If you're getting that message, that means it didn't make it there. It may have failed to build (and somehow any indication of it disappeared with your commenting in the Makefile), you failed to execute a 'make install', it installed somewhere else, or something bizarre. Did you have to tinker with your installation after you installed DBI/DBD::Oracle?