lSM lICE: not found

Peter Dalgaard BSA
04 May 1998 18:35:50 +0200

Paul Gilbert <> writes:

> I'm trying to compile R 0.61.3 on Solaris and I get the following error. Does
> anyone know where I should find these libraries?
> ld: fatal: library -lSM: not found
> ld: fatal: library -lICE: not found
> ld: fatal: File processing errors.  No output written to R.binary
> *** Error code 1
> make: Fatal error: Command failed for target `R.binary'
> Paul Gilbert


bash$ uname -a
SunOS stat 5.5.1 Generic_103640-05 sun4m sparc SUNW,SPARCstation-10

<output from make>
cd main; make
gcc -o R.binary arithmetic.o array.o attrib.o bind.o builtin.o
 ../lib/libunix.a ../lib/libappl.a ../lib/libmath.a -L/usr/openwin/lib
 -R/usr/openwin/lib -lX11 -lsocket -lnsl -ldl -lreadline -ltermcap -lm mention of libSM or libICE.

Why is it requiring those libraries in the first place?? Are you
installing from scratch or might there be some leftovers from a
previous compile. The -lSM -lICE line seems to come from some generic
X11 stuff in configure and are not mentioned in, which I
suppose means: if R doesn't configure and compile, no other X program
does either....

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (             FAX: (+45) 35327907

r-devel mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: