Hello, I recently upgraded my glibc from 2.0.7 to 2.1.1 and now I cannot get R to start. I get R : Copyright 1999, The R Development Core Team Version 0.64.1 (May 8, 1999) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type "?license" or "?licence" for distribution details. R is a collaborative project with many contributors. Type "?contributors" for a list. Type "demo()" for some demos, "help()" for on-line help, or "help.start()" for a HTML browser interface to help. Type "q()" to quit R. Segmentation fault (core dumped)>From core:GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. <snip> This GDB was configured as "i686-pc-linux-gnu"... "/usr/local/bin/R": not in executable format: File format not recognized Core was generated by `/usr/local/lib/R/bin/R.binary'. Program terminated with signal 11, Segmentation fault. #0 0x40188ab3 in ?? () This is with RedHat 5.1, kernel 2.2.1. I got glibc-2.1.1 from the GNU web site and compiled it myself, then recompiled and installed R. Any suggestions will be much appreciated. TIA, Robert Burrows rbb at nebiometrics.com -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Robert Burrows <rbb at nebiometrics.com> writes:> I recently upgraded my glibc from 2.0.7 to 2.1.1 and now I cannot get R to > start. I get...> <snip> > This GDB was configured as "i686-pc-linux-gnu"... > > "/usr/local/bin/R": not in executable format: File format not recognized > > Core was generated by `/usr/local/lib/R/bin/R.binary'. > Program terminated with signal 11, Segmentation fault. > #0 0x40188ab3 in ?? () > > This is with RedHat 5.1, kernel 2.2.1. I got glibc-2.1.1 from the GNU web > site and compiled it myself, then recompiled and installed R. > > Any suggestions will be much appreciated.Hmm. If you want to live on the bleeding edge... There are many things that can have gone wrong, various binutils not quite compatible with glibc-2.1.x, etc. RedHat6.0 is known to be a workable platform for R, so I doubt that it is glibc-2.1 alone that is causing you pain. One thing that might point you at the source of the problem is to try running R under gdb (start it with "bin/R -d gdb", then type run). That might at least give you an indication of which routine is blowing up. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi, I'm using R (currently, the development version dated May 25th, 1999) under Linux, with glibc-2.1.1 (compiled by a recent snapshot of the egcs compiler, and a similarly recent version of the binary utilities package). Both the standalone and the GNOME version work fine. As to the gdb output, please note that /usr/local/bin/R is a shell script used to start the "real" binary, which usually lives in /usr/local/lib/R/bin/R.binary. It is the latter file that should be handed to gdb (together with the core dump, if you so desired). On my transitions to glibc-2.0, glibc-2.1 and, lately, glibc-2.1.1 (with kind help of Ulrich Drepper - many thanks to him), I have come across some surprising core dumps. In many cases, a mix of shared libraries linked into a program were the cause, so the suggestion I'd have to offer is to do a ldd on the binary and check the resulting list of shared libraries. After all, to allow for continued use of old binaries, most systems keep old libraries around at one place or another... On my box, ldd /usr/local/lib/R/bin/R.binary returns libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4001e000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40026000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4003a000) libdl.so.2 => /usr/local/lib/libdl.so.2 (0x400d2000) libncurses.so.4 => /usr/local/lib/libncurses.so.4 (0x400d5000) libm.so.6 => /usr/local/lib/libm.so.6 (0x40115000) libc.so.6 => /usr/local/lib/libc.so.6 (0x40132000) Regards, Ernst -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._