bodhidharma has asked for the wisdom of the Perl Monks concerning the following question:

Greetings O Wise Ones: I have a problem that's driving me nuts. I have 2 identical IBM B80's with the identical AIX level (5.1 ML7) with module DBI loaded from the same source (Bull Software pre-compiled modules). On system A it works flawlessly. On system B I get the "Can't locate loadable object for module DBI ..." The INC list is identical on these systems. I have checked permissions and they are identical on each system. I checked the bit count on the pm's -- identical. The message I get tends to indicate a problem with the compiling the module, but I didn't compile the module in either case, I did a system update with precompiled modules. Might anyone have a clue as to what's happening? TIA Steve Scarlett Siemens Business Services

Replies are listed 'Best First'.
Re: DBI on AIX - load prob
by jZed (Prior) on Sep 16, 2006 at 18:24 UTC
    If you copied files rather than going through an install process, it isn't so much the .pm file that you need to check, look also at files like (on my debian system) /usr/lib/perl5/auto/DBI/DBI.so. Also, is there any chance that there is a difference in the C compilers on the two systems?
Re: DBI on AIX - load prob
by cdarke (Prior) on Sep 17, 2006 at 09:10 UTC
    Suggest you list out %INC hash on the successful machine and check where things are loaded from, then check same directories, permissions, etc., on the other.