05-11-2010, 09:44 AM | #1 |
Junior Member
Posts: 9
Karma: 10
Join Date: Feb 2010
Device: Sony PRS600
|
GLIBC 2.10
I have glibc-2.10.1-6.4mnb2.i586 installed on my system, but when I run as root:
python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-ebook.com/linux_installer').read(); main()" I receive this message: OSError: [Errno 36] File name too long: '/tmp/images/Note\rYou need GLIBC 2.10 or higher to run versions greater than 0.6.29. If you receive an error about GLIBC you can downgrade to an older version by getting the .tar.bz2 file for your architecture (32bit or 64bit) from sourceforge. Then delete the contents of ' |
05-11-2010, 11:49 AM | #2 |
creator of calibre
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The actual error is the first part about a file name being too long. Though why you should get that is beyond me. I thought all linux files systems had at least 1024 as the path size limit.
|
Advert | |
|
05-12-2010, 03:38 AM | #3 | |
Junior Member
Posts: 9
Karma: 10
Join Date: Feb 2010
Device: Sony PRS600
|
Quote:
If you want me to run some tests, just tell me. |
|
05-12-2010, 07:14 AM | #4 |
Guru
Posts: 820
Karma: 11012
Join Date: Nov 2007
Location: Warsaw, Poland
Device: Bookeen Cybook
|
It looks to me like either a buffer overflow, or the filename string that's not properly ending with NULL.
I understand that the error is what was written out, and the "You need GLIBC..." string was considered the part of the path by some function, and that caused the "file name too long" error. So either the '/tmp/images/Note\r' isn't properly zero-terminated (more probable), or "You need GLIBC..." string was copied in memory over the latter part of the path (less probable). |
05-12-2010, 01:42 PM | #5 |
creator of calibre
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yeah but that's just the installer script, not calibre itself and the installer script definitely hasn't changed between 0.6.49 and 0.6.52
Is that the complete error message or was there a Traceback before it? |
Advert | |
|
05-13-2010, 04:11 AM | #6 |
Junior Member
Posts: 9
Karma: 10
Join Date: Feb 2010
Device: Sony PRS600
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error glibc detected | stex83 | Reading and Management | 2 | 05-29-2008 07:18 AM |