[R] problem installing quadprog

john_heumann@agilent.com john_heumann at agilent.com
Thu May 30 18:14:47 CEST 2002

When I try to build/install the quadprog package under R1.50 and NT4
it seems to have trouble finding blas routines. I'm currently using the
generic blas routines, rather than ATLAS or some other tuned implementation:

   > Rcmd INSTALL d:/temp/quadrprog
   gcc  --shared -s  -o quadprog.dll quadprog.def quadprog.a quadprog_res.o  -Lc:/a
   pps/rw1050/src/gnuwin32  -lg2c -lR
   quadprog.a(util.o)(.text+0x84):util.f: undefined reference to `dscal_'
   quadprog.a(util.o)(.text+0xfa):util.f: undefined reference to `daxpy_'
   quadprog.a(util.o)(.text+0x188):util.f: undefined reference to `ddot_'
   quadprog.a(util.o)(.text+0x21f):util.f: undefined reference to `daxpy_'
   make[2]: *** [quadprog.dll] Error 1

rBlas.dll is present in <RHOME>/bin, but note that there is no "-L" directive
for that directory. If I add it, the installation completes correctly.

Is there something wrong with my installation, or has the <RHOME>/bin
directory accidentally been left off the library search path?

What's the easiest way for me to fix this, so I don't encounter the same 
problem when building other packages? (BTW, this is the first optional 
package I've had trouble with. Everything else has built/installed correctly).

Thanks in advance,

John Heumann, Agilent Technologies, Inc.
815 14th. St. S.W., Loveland, CO 80537 
Email: john_heumann at agilent.com
Phone: (970) 679-3761, Fax: (970) 679-5399
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