dbd::mysql error

dbd::mysql error

am 11.02.2005 22:24:49 von Carol Williams

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@m .gmane.org

Re: dbd::mysql error

am 11.02.2005 23:13:26 von Rudy Lippan

On Fri, 11 Feb 2005, Carol Williams wrote:

> Date: Fri, 11 Feb 2005 13:24:49 -0800 (PST)
> From: Carol Williams
> To: perl@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@m .gmane.org