Perlfect Solutions
 

[Perlfect-search] DB_File exists on AIX system but cannot load.....bad magic?

C. Engelhart cartere@vfr.net
Wed, 6 Sep 2000 21:34:03 -0700
This is a multi-part message in MIME format.

------=_NextPart_000_003E_01C0184A.2D9D3D60
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

O.K..... I took the last advice I was given and tried to find out if the =
DB_File module was really on my server.  The output seems to indicate an =
error in DynaLoader.pm module which seems to be the problem.   If this =
is true, do I need to visit the www.cpan.org site ?  I can't seem to =
locate the downloadable  DynaLoader.pm module.

I welcome your input.

Thanks


$ ./perl5 -e 'use DB_File'
Can't load '/usr/local/lib/perl5/5.00502/aix/auto/DB_File/DB_File.so' =
for module DB_File: readExports: bad magic at =
/usr/local/lib/perl5/5.00502/aix/DynaLoader.pm line 168.

 at -e line 1
BEGIN failed--compilation aborted at -e line 1.


------=_NextPart_000_003E_01C0184A.2D9D3D60
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>O.K..... I took the last advice I was =
given and=20
tried to find out if the DB_File module was really on my server.&nbsp; =
The=20
output seems to indicate an error in DynaLoader.pm module which seems to =
be the=20
problem.&nbsp;&nbsp; If this is true, do I need to visit the <A=20
href=3D"http://www.cpan.org">www.cpan.org</A> site ?&nbsp; I can't seem =
to locate=20
the downloadable&nbsp; DynaLoader.pm module.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I welcome your input.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>$ ./perl5 -e 'use DB_File'<BR>Can't =
load=20
'/usr/local/lib/perl5/5.00502/aix/auto/DB_File/DB_File.so' for module =
DB_File:=20
readExports: bad magic at /usr/local/lib/perl5/5.00502/aix/DynaLoader.pm =
line=20
168.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;at -e line 1<BR>BEGIN =
failed--compilation=20
aborted at -e line 1.<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_003E_01C0184A.2D9D3D60--