RE: DBD::mysql always fails
"Mohammad" <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <000b01c50769$7872b0f0$1b4177d4@junaidnb> |
Thanks David, I tried this also but no luck. Mohammad Junaid -----Original Message----- From: David Logan [mailto:[email protected]] Sent: Sunday, January 30, 2005 10:44 PM To: Mohammad Junaid Subject: Re: DBD::mysql always fails Mohammad Junaid wrote: >Hi, >On solaris 8 (Sparc) I am trying to compile DBD::mysql since weeks but no luck, tried all available suggestions but no luck, still getting same following error while "make test" > >DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: ld.so.1: /usr/local/bin/perl: fatal: relocation error: file /export/home/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so: symbol mysql_real_escape_string: referenced symbol not found at /usr/local/lib/perl5/5.8.6/sun4-solaris/DynaLoader.pm line 230. >at (eval 1) line 3 >Compilation failed in require at (eval 1) line 3. > >Any idea? > > Hi Mohammad, This could be caused by trying to use a 64bit mysql implementation and a 32bit perl setup. I had similar problems until I re-installed mysql as 32bit and then everything worked fine *Solaris 8 and 9). Regards -- David Logan South Australia when in trouble, or in doubt run in circles, scream and shout -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/[email protected]