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/mys ql.a'
for module DBD::mysql: 0509-022 Cannot load module
/usr/local/lib/perl5/site_perl/5.8.5/aix/auto/DBD/mysql/mysq l.a.
0509-103 The module has an invalid magic
number. at
/usr/local/lib/perl5/5.8.5/aix/DynaLoader.pm line 230.

Thank you

Carol



__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com



--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules [at] m .gmane.org
Carol Williams [ Fr, 11 Februar 2005 22:24 ] [ ID #639213 ]

Re: dbd::mysql error

On Fri, 11 Feb 2005, Carol Williams wrote:

> Date: Fri, 11 Feb 2005 13:24:49 -0800 (PST)
> From: Carol Williams <cshw2002 [at] yahoo.com>
> To: perl [at] lists.mysql.com
> 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/mys ql.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/mysq l.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_li b.htm

HTH,

Rudy


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules [at] m .gmane.org
Rudy Lippan [ Fr, 11 Februar 2005 23:13 ] [ ID #639214 ]
Datenbanken » gmane.comp.db.mysql.perl » dbd::mysql error

Vorheriges Thema: Installed too many mysqls
Nächstes Thema: UNION statement to sort search results twice