LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-27-2008, 02:10 AM   #16
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122

So since you installed the perl module, what error do you get with mysql? Post the full error messages
 
Old 06-27-2008, 02:37 AM   #17
tester^_^
Member
 
Registered: Apr 2006
Location: somewhere in malaysia
Distribution: redhat
Posts: 78

Original Poster
Rep: Reputation: 15
i install DBI module and terminal display very long progress with text.below is just several last lines.i don't know what the problem

root/.cpan/build/DBI-1.605-lzp1jU/DBI.xs:3612: undefined reference to `Perl_sv_2bool'
/root/.cpan/build/DBI-1.605-lzp1jU/DBI.xs:3616: undefined reference to `Perl_sv_2pv_flags'
/root/.cpan/build/DBI-1.605-lzp1jU/DBI.xs:3266: undefined reference to `Perl_croak_nocontext'
/root/.cpan/build/DBI-1.605-lzp1jU/DBI.xs:3536: undefined reference to `Perl_mg_get'
/root/.cpan/build/DBI-1.605-lzp1jU/DBI.xs:3599: undefined reference to `Perl_sv_2bool'
collect2: ld returned 1 exit status
make: *** [DBI] Error 1
TIMB/DBI-1.605.tar.gz
/usr/bin/make install install DBI -- NOT OK
Failed during this command:
TIMB/DBI-1.605.tar.gz : install NO
 
Old 06-27-2008, 02:40 AM   #18
tester^_^
Member
 
Registered: Apr 2006
Location: somewhere in malaysia
Distribution: redhat
Posts: 78

Original Poster
Rep: Reputation: 15
this is the problem when i try to install mysql


[root@firdaus Desktop]# rpm -ivh MySQL-server-community-5.0.51a-0.rhel5.i386.rpm
error: Failed dependencies:
perl(DBI) is needed by MySQL-server-community-5.0.51a-0.rhel5.i386
 
Old 06-27-2008, 03:12 AM   #19
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You need to post more than that - the cause of the error is earlier
 
Old 06-27-2008, 05:01 AM   #20
tester^_^
Member
 
Registered: Apr 2006
Location: somewhere in malaysia
Distribution: redhat
Posts: 78

Original Poster
Rep: Reputation: 15
i try this...

cpan[1]> install DBI
CPAN: Storable loaded ok (v2.15)
Going to read /root/.cpan/Metadata
Database was generated on Thu, 26 Jun 2008 03:02:53 GMT
CPAN: LWP::UserAgent loaded ok (v5.813)
CPAN: Time::HiRes loaded ok (v1.86)
Fetching with LWP:
ftp://ftp.oss.eznetsols.org/cpan/aut...1mailrc.txt.gz
CPAN: YAML loaded ok (v0.66)
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok (v2.011)
............................................................................DONE
Fetching with LWP:
ftp://ftp.oss.eznetsols.org/cpan/mod...details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Fri, 27 Jun 2008 07:02:53 GMT
............................................................................DONE
Fetching with LWP:
ftp://ftp.oss.eznetsols.org/cpan/mod...odlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
............................................................................DONE
Going to write /root/.cpan/Metadata
DBI is up to date (1.605).


and why the result still like this?


[root@firdaus linux]# rpm -ivh MySQL-server-community-5.0.51a-0.rhel5.i386.rpm
error: Failed dependencies:
perl(DBI) is needed by MySQL-server-community-5.0.51a-0.rhel5.i386
[root@firdaus linux]# rpm -ivh MySQL-server-community-5.0.51a-0.rhel5.i386.rpm
 
Old 06-27-2008, 11:16 AM   #21
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I don't know if this is the same issue http://bugs.mysql.com/bug.php?id=13634

I'd also try finding an rpm of perl DBI, because cpan can produce some strange results. Try http://www.rpmfind.net/linux/rpm2htm...submit=Search+...
 
Old 06-28-2008, 07:33 AM   #22
rexsky
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Rep: Reputation: 0
do it yourself,and search it in google ,I think you will be successfull..
 
Old 06-30-2008, 12:30 AM   #23
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Also, if you are working at a company and they are using RHEL, they would have paid for support, usually...
 
Old 06-30-2008, 02:26 AM   #24
tester^_^
Member
 
Registered: Apr 2006
Location: somewhere in malaysia
Distribution: redhat
Posts: 78

Original Poster
Rep: Reputation: 15
thank's so much..
 
Old 06-30-2008, 09:55 PM   #25
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
This may be useful:http://dev.mysql.com/doc/refman/5.0/...-problems.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 02:13 PM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 01:52 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. SpellChainz Linux - Newbie 1 06-23-2007 03:35 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration