[R] Readline problem.

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Tue Sep 10 17:32:06 CEST 2002


Rolf Turner <rolf at math.unb.ca> writes:

> This question relates, at least vaguely, to recent postings
> from me concerning my attempts to build R-1.5.1 under Solaris 2.7.
...
> But when we do ./configure, we get errors of the following form.
> (These lines are copied and pasted from config.log):
> 
> ===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===
> configure:10914: checking for rl_callback_read_char in -lreadline
> configure:10947: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib conftest.c -lreadline  -ldl -ltermcap -lm  >&5
> cc1: warning: changing search order for system directory "/usr/local/include"
> cc1: warning:   as it has already been specified as a non-system directory
> ld: fatal: symbol `__dso_handle' is multiply-defined:
>         (file /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2/crtbegin.o and file /usr/local/lib/libreadline.so);
> ld: fatal: symbol `_init' is multiply-defined:
>         (file /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2/crti.o
> and file /usr/local/lib/libreadline.so);

Hm? I wouldn't expect to find those symbols in a dynamic library, and
readline hasn't come in dynamic form previously (I have only
libreadline.a). Where did you get it from?

-- 
   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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list