Hi All,


I have installed mysql on my powermac G5 (64 bits) and I installed perl
DBD-mysql-4.005 and DBI-1.601 that I obtained from CPAN. The
installation did not work and I kept getting error message. I saw
somewhere that the 64 bit version of mysql was creating problems so i
installed the 32 bit version. Installing the perl modules went well but
now I get error message when running my scripts.



I get:

<<


Code: ( text )
Can't
load
'/sw/lib/perl5/5.8.6/darwin-thread-multi-2level/auto/DBI/DBI.bundle'
for module DBI:
dlopen(/sw/lib/perl5/5.8.6/darwin-thread-multi-2level/auto/DBI/DBI.bundle,
1): no suitable image found.  Did find:  
     
/sw/lib/perl5/5.8.6/darwin-thread-multi-2level/auto/DBI/DBI.bundle:
mach-o, but wrong architecture at
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/DynaLoader.pm
line 230. at /sw/lib/perl5/5.8.6/darwin-thread-multi-2level/DBI.pm line 
255BEGIN failed--compilation aborted at 
/sw/lib/perl5/5.8.6/darwin-thread-multi-2level/DBI.pm line 255.Compilation 
failed in require at connect.pl line 4.BEGIN failed--compilation aborted at 
connect.pl line 4 >> One
source of problem might be that I transferred my files and folders from
a macbook pro when I install the system on my G5. Could it carry over
stuff made for the intel architecture? my mysql version is:Server version: 
5.0.45 MySQL Community Server (GPL)osx tiger 10.4.11




How whould I proceed? What is the problem? Perl, the modules or mysql? how can 
i reinstall perl simply on my machine?
Also, if I run my script within BBedit, the script runs just fine and connect 
to the internet correctly.

Thanks for your help,



Christ
_________________________________________________________________
Express yourself with free Messenger emoticons. Get them today!
http://www.freemessengeremoticons.ca/?icid=EMENCA122

Reply via email to