LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 08-11-2004, 08:43 AM   #1
ernesto_cgf
Member
 
Registered: Nov 2003
Location: Havana, Cuba
Distribution: Ubuntu 9.04 "Jaunty Jackalope"
Posts: 153

Rep: Reputation: 30
Problems running Mono 1.0 in Mandrake 9.1


I downloaded and installed (in my Mandrake 9.1) Mono 1.0 RPMs from the mono project web site. I downloaded the RedHat 9 RPMs since there is no dedicated version for Mandrake 9.X (or 10.X). I had no problems with this, as I have never had problems downloading and installing RedHat RPMs in Mandrake. I managed to satisfy all dependencies, even needed to download a couple of updated packages from the mandrake web site and from http://rpm.pbone.net/
The problem is that, after installing almost everything (Core, Cairo Dependencies, Mono and Microsoft Stacks, Wine updated, Data and MonoDevelop) when I run /usr/bin/mono or /usr/bin/mcs (for example)
I receive this message:

mono: error while loading shared libraries: libmono.so.0: cannot handle TLS data

Does anyone understand this message or have a clue of what might be happening?

Thanks in advance.
 
Old 08-12-2004, 06:12 AM   #2
cppkid
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Ubuntu
Posts: 185

Rep: Reputation: 30
Yes buddy this is a problem due to Thread Local Storage (TLS), and as the threads are changes not too long ago so this problem occurs. I think downloading the latest version of MONO and glibc will solve your problem.

Not Just mono
Also download latest version of glibc
 
Old 08-12-2004, 10:13 AM   #3
mhearn
Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Don't upgrade your glibc, this will *not work* and you are most likely to destroy your install.

Instead upgrade your distribution. I am afraid this is the only sane way to deal with this error. I had no idea Mono was using ELF TLS, it surprises me actually ....
 
Old 08-12-2004, 10:27 AM   #4
mhearn
Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
BTW you need a distro that supports NPTL or use RPMs built for your particular distribution.

Or alternatively you may have the "wrong" CPU.
 
Old 08-12-2004, 02:09 PM   #5
ernesto_cgf
Member
 
Registered: Nov 2003
Location: Havana, Cuba
Distribution: Ubuntu 9.04 "Jaunty Jackalope"
Posts: 153

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by mhearn
BTW you need a distro that supports NPTL or use RPMs built for your particular distribution.

Or alternatively you may have the "wrong" CPU.
What is NPTL?
I have never had problems with RPMs for RedHat in my distro (Mdk 9.1) if they are from a relatively recent RedHat version (except of course, dependencies problems, which I solve downloading the packages needed)
I haven't found Mono RPMs for Mandrake 9.x or 10.x

And what do you mean with "the 'wrong' CPU" ??

I am already downloading glibc and a bunch of updates it required for other packages.
I'll tell you when I'm done.

Thanks for the feedback you guys.
 
Old 08-14-2004, 08:36 AM   #6
mhearn
Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Wrong as in an i386 rather than 486/586/686
 
  


Reply


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
Installing a Mono Snapshot on Mandrake tgraupmann Linux - Software 6 02-06-2005 09:23 PM
mono develop on Mandrake 10 koolb Programming 0 08-29-2004 06:34 AM
How to configure MONO on MANDRAKE 9.0 ? nemesis1492 Linux - Software 1 08-11-2004 08:32 AM
Ximian Mono 1.0 beta 2 on Mandrake 10.0 Official brownb2 Mandriva 1 06-15-2004 05:48 AM
How to use MONO on MANDRAKE 9.0 ? nemesis1492 Programming 0 05-06-2004 06:46 AM


All times are GMT -5. The time now is 12:37 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration