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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi, 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: ... g77 -fPIC -O2 -m486 -fno-strength-reduce -g -c sortm.f -o sortm.o gcc -shared -o fields.so css.o csstr.o cvrcss.o cvrf.o dchold.o dcopy.o ddot.o dlv.o dmaket.o drdfun.o dsetup.o expbs.o expfn.o gaspbs.o gaspfn.o gcvcss.o gcvf c.o hsort.o ifind.o inpoly.o lscv.o m2deb.o mkpoly.o mltdrb.o mltdtd.o msort.o m ulteb.o multgb.o multrb.o nkden.o nkreg.o nvden.o radbas.o radfun.o rcss.o rcssr .o rcsswt.o rkmat.o sortm.o -L/usr/local/lib -L/usr/lib/gcc-lib/i386-redhat-li nux/2.96 -L/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../.. -lreadline -ldl -lnc urses -lg2c -lm -L/usr/lib/R/bin -lR /usr/bin/ld: cannot find -lncurses collect2: ld returned 1 exit status make: *** [fields.so] Erreur 1 ERROR: compilation failed for package 'fields' I obtain the same message for any other package. I checked, I have readline and ncurses installed. So I don't quite see where the problem comes from. Any help please? Many thanks Rachid -- Dr. Rachid Cheddadi Centre universitaire Arles Tel: 00.33.(0)4.90.96.18.18 European Pollen Database Fax: 00.33.(0)4.90.93.98.03 CNRS - UMR 6116 rachid.cheddadi at wanadoo.fr 13200 Arles - France rachid.cheddadi at vmesa12.u-3mrs.fr -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._