LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-23-2015, 10:36 AM   #1
dannylalala
LQ Newbie
 
Registered: Apr 2015
Posts: 9

Rep: Reputation: Disabled
Installing MONO error Requires: libc.so.6(GLIBC_2.15)(64bit)


So this is my first day using centos. I've messed around with Xubuntu and a tiny bit off kali linux but I'm very much a beginner when it comes to linux.

I upgraded my hosting package to vps because 1) I wanted to be able to run commands as root to install a patch for a magento install and 2) I want to install MONO so that a .NET script will run.

I have no knowledge of .net I'm rebuilding a website for someone in wordpress but they want to keep a specific section that was built with .net and I read that mono would make the script run.

So I followed the instructions on

http://www.mono-project.com/docs/get...install/linux/

which are
Run Commands

Code:
rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
yum-config-manager --add-repo http://download.mono-project.com/repo/centos/
Then "Run a package upgrade to upgrade existing packages to the latest available" <<I'm not sure what I'm meant to be upgrading I typed

Code:
yum update
but it says everythings up to date.

So I then tried

Code:
yum install mono-devel
and

Code:
yum install mono-complete
both give errors

mono devel errors

Code:
Error: Package: mono-core-3.12.1-0.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libc.so.6(GLIBC_2.16)(64bit)
Error: Package: mono-devel-3.12.1-0.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libc.so.6(GLIBC_2.15)(64bit)
Error: Package: libgdiplus0-3.12-1.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libtiff.so.5()(64bit)
Error: Package: libgdiplus0-3.12-1.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libtiff.so.5(LIBTIFF_4.0)(64bit)
Error: Package: libgdiplus0-3.12-1.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libpng15.so.15()(64bit)
Error: Package: libmonosgen-2_0-1-3.12.1-0.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libc.so.6(GLIBC_2.15)(64bit)
Error: Package: libgdiplus0-3.12-1.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: libgdiplus0-3.12-1.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libpng15.so.15(PNG15_0)(64bit)
mono-complete errors

Code:
Error: Package: libgdiplus0-3.12-1.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: mono-devel-3.12.1-0.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libc.so.6(GLIBC_2.15)(64bit)
Error: Package: libmonoboehm-2_0-1-3.12.1-0.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libc.so.6(GLIBC_2.15)(64bit)
Error: Package: libgdiplus0-3.12-1.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libtiff.so.5()(64bit)
Error: Package: libgdiplus0-3.12-1.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libtiff.so.5(LIBTIFF_4.0)(64bit)
Error: Package: libgdiplus0-3.12-1.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libpng15.so.15()(64bit)
Error: Package: libmonosgen-2_0-1-3.12.1-0.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libc.so.6(GLIBC_2.15)(64bit)
Error: Package: mono-core-3.12.1-0.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libc.so.6(GLIBC_2.16)(64bit)
Error: Package: libgdiplus0-3.12-1.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libpng15.so.15(PNG15_0)(64bit)
If it helps I'm currently in the /root directory

and it's CentOS 6.4

Can anyone explain why I'm getting these errors and what I need to do to fix?

Thanks
 
Old 04-23-2015, 08:34 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,628

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
from the instructions that you pointed to
DID you install the EPEL repo like the instructions stated ?
see the wiki
http://wiki.centos.org/AdditionalResources/Repositories

also this is 6.4
cent dose NOT!!! support old versions
the ONLY!!! version of 6 that is supported is the CURRENT 6.6
upgrade NOW
before you even try to install mono ( mono will only run a small part of the Microsoft ONLY!!! .net C# code)


Code:
su -
yum --relesever=6.6 upgrade

there is NO new software for 6.4
all 6.4 software e is at least 1 year OUT OF DATE
 
Old 04-24-2015, 10:09 AM   #3
dannylalala
LQ Newbie
 
Registered: Apr 2015
Posts: 9

Original Poster
Rep: Reputation: Disabled
Yes I installed epel but was still getting this error. I have whm so after contacting my hosting company they told me I could install with easyapache. But even now with mono installed it loads the first aspx page but then gives error:

The ConnectionString is automatically generated for AccessDataSource and hence cannot be set.

I really don't want to deal with .net it just seems like an added pain on top of the one thousand other things I'm trying to learn at the minute grrr...

Quote:
Originally Posted by John VV View Post
from the instructions that you pointed to
also this is 6.4
cent dose NOT!!! support old versions
the ONLY!!! version of 6 that is supported is the CURRENT 6.6
upgrade NOW
before you even try to install mono ( mono will only run a small part of the Microsoft ONLY!!! .net C# code)


Code:
su -
yum --relesever=6.6 upgrade
Ran the code but it gives error

Code:
Command line error: no such option: --relesever
I wasn't sure if there was a typo so tried

Code:
yum --releserver=6.6 upgrade
but it just gives the same error
 
Old 04-24-2015, 02:17 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,628

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
did you run the "help" menu or the man page to see IF it was a typo ?

Code:
su -
yum --help
-----
man yum
and yes i did make a typo
Code:
su -
------- type in your root password when asked for ----------
yum --releasever=6.6 upgrade

as to the error in the first post
there is no repo that you can access using the DEFAULT repo locations
the 6.4 files were MOVED to the historical archive "The VAULT"
this is the current PLACE HOLDER where the 6.4 files WERE ( not there anymore)
Quote:
This directory (and version of CentOS) is deprecated. For normal users,
you should use /6/ and not /6.4/ in your path. Please see this FAQ
concerning the CentOS release scheme:

https://wiki.centos.org/FAQ/General

If you know what you are doing, and absolutely want to remain at the 6.4
level, go to http://vault.centos.org/ for packages.

Please keep in mind that 6.0, 6.1, 6.2, 6.3 and 6.4 no longer gets any updates, nor
any security fix's.
the same applies for 6.5

Last edited by John VV; 04-24-2015 at 02:25 PM.
 
Old 04-25-2015, 05:34 AM   #5
dannylalala
LQ Newbie
 
Registered: Apr 2015
Posts: 9

Original Poster
Rep: Reputation: Disabled
After running the command I get this

Code:
yum --releasever=6.6 upgrade
Loaded plugins: fastestmirror
Setting up Upgrade Process
Determining fastest mirrors
epel/metalink                                            |  14 kB     00:00     
 * base: mirror.ubiquityservers.com
 * epel: www.gtlib.gatech.edu
 * extras: centos.mirror.nac.net
 * ius: iad.mirror.rackspace.com
 * rpmforge: mirror.us.leaseweb.net
 * updates: mirror.millry.co
base                                                     | 3.7 kB     00:00     
base/primary_db                                          | 4.6 MB     00:02     
download.mono-project.com_repo_centos_                   | 2.9 kB     00:00     
download.mono-project.com_repo_centos_/primary_db        | 177 kB     00:00     
epel                                                     | 4.4 kB     00:00     
epel/primary_db                                          | 6.5 MB     00:00     
extras                                                   | 3.4 kB     00:00     
extras/primary_db                                        |  30 kB     00:00     
home_tpokorra_mono                                       | 1.2 kB     00:00     
home_tpokorra_mono/primary                               |  17 kB     00:00     
home_tpokorra_mono                                                        94/94
ius                                                      | 2.1 kB     00:00     
ius/primary_db                                           | 183 kB     00:00     
rpmforge                                                 | 1.9 kB     00:00     
rpmforge/primary_db                                      | 2.7 MB     00:00     
updates                                                  | 3.4 kB     00:00     
updates/primary_db                                       | 3.2 MB     00:00     
No Packages marked for Update
 
Old 04-25-2015, 05:40 AM   #6
dannylalala
LQ Newbie
 
Registered: Apr 2015
Posts: 9

Original Poster
Rep: Reputation: Disabled
I think it's updated from doing that I just went to

Code:
cat etc/redhat-release
and it returns

Code:
CentOS release 6.6 (Final)
Thanks! I spoke to the person who owns the site with the .net stuff and agreed to get rid of it. So I'm not going to worry about that for now. But, could you let me know some places to start reading up about servers etc so I can get my head around it?
 
  


Reply

Tags
centos6, mono, yum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time gmad22 Debian 2 05-24-2012 04:00 PM
/lib/tls/libc.so.6: version `GLIBC_2.4' not found error when invoking Java y UmaSantharam Linux - Software 6 02-13-2012 06:13 PM
ERROR :version GLIBC_2.0 not defined in file libc.so.6 with link time reference gemini42 Slackware 10 12-13-2010 10:24 AM
Iptables upgrade gives libc.so.6(GLIBC_2.3.4) error yawe_frek Linux - Security 1 06-06-2007 07:02 PM
libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.2) needed for Linux 7.3.1 vivek_thampy Linux - Software 1 08-09-2004 04:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:22 PM.

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