[R] R and glibc-2.1.1

ernst.molitor@uni-bonn.de ernst.molitor at uni-bonn.de
Mon Jun 7 22:26:27 CEST 1999


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

On my box,

 ldd /usr/local/lib/R/bin/R.binary

	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)


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

More information about the R-help mailing list