[R] package installation
Jason Turner
jasont at indigoindustrial.co.nz
Thu Oct 24 09:23:49 CEST 2002
On Thu, Oct 24, 2002 at 06:08:27PM +0200, rachid cheddadi wrote:
> I had R working since version 1.4. Then I bought a new HD and installed
> a RH 7.3 on it and since then I can no longer install any R package.
> Here is the failure message I obtain:
...
> /usr/bin/ld: cannot find -lncurses
> collect2: ld returned 1 exit status
> make: *** [fields.so] Erreur 1
> ERROR: compilation failed for package 'fields'
Hrm, how did you re-install R under the new RH7.3?
Source, or RPM, or...?
1) from the shell prompt, as root, (assuming bash here), try
/sbin/ldconfig
and try again.
2) if that didn't work, try
find /usr/ -name "libncurses*" -print
After a few minutes, that should find where the system put
libncurses. It might not be on the library search path, which
(under older versions of RedHat anyway) were configured in
/etc/ld.so.conf. If it's in a directory not listed in /etc/ld.so.conf,
(as root) edit the file and put the directory in there, then
run /sbin/ldconfig again.
If that doesn't work... ???
Cheers
Jason
--
Indigo Industrial Controls Ltd.
64-21-343-545
jasont at indigoindustrial.co.nz
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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