Re: dbd::mysql error
Rudy Lippan <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 11 Feb 2005, Carol Williams wrote: > Date: Fri, 11 Feb 2005 13:24:49 -0800 (PST) > From: Carol Williams <[email protected]> > To: [email protected] > Subject: dbd::mysql error > > > I get the following error when I try to connect to a > database using the dbd::mysql module. I am running > AIX 5.2, with mysql 4.1.8 and perl 5.8.5. Both perl > and mysql were compiled with the AIX C complier > version 6. > > Can't load > '/usr/local/lib/perl5/site_perl/5.8.5/aix/auto/DBD/mysql/mysql.a' > for module DBD::mysql: 0509-022 Cannot load module Is mysql.a a shared object? I don't know aix at all, but from what I know of other unixes i'd suspect that you dynamic linker is trying load something that is not a shared object. > /usr/local/lib/perl5/site_perl/5.8.5/aix/auto/DBD/mysql/mysql.a. > 0509-103 The module has an invalid magic > number. at You might want to try running 'file' on it and see what that gives you (if aix has 'file', that is). And this is what google has to say: http://publib.boulder.ibm.com/infocenter/comphelp/index.jsp?topic=/com.ibm.vacpp7a.doc/getstart/overview/port_aix_obj_lib.htm HTH, Rudy -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/[email protected]