[R-sig-Debian] cannot find -lquadmath

Dirk Eddelbuettel edd at debian.org
Fri Jan 13 04:21:33 CET 2012


On 12 January 2012 at 21:30, Peter Muhlberger wrote:
| Apologies if this has been posted about recently, but I haven't been
| on this listserve for a while.

That is rude. This was discussed, and a fix layed out, within the last 24 hours.
 
| I ran into a problem trying to compile Hmisc (required package for

1)  r-cran-hmisc was part of Debian for years. Why compile?

2)  r-cran-rms is part of Debian, the 'rms' package has replaced Hmisc /years
    ago/ upstream.

| rms) and have found a solution that I'd like to share.  The compile
| fails with the message:
| 
| /usr/bin/ld: cannot find -lquadmath
| 
| libquadmath exists on my Debian Squeeze system (up-to-date, recently installed):
| 
| ldconfig -p | grep libquad*
|        libquadmath.so.0 (libc6,x86-64) =>
| /usr/lib/x86_64-linux-gnu/libquadmath.so.0
| 
| The problem appears to be that libquadmath.so.0 is buried in the
| directory x86_64-linux-gnu where the compiler apparently can't see it.
| 
| The fix is:
| 
| cd /usr/lib
| sudo ln -s /usr/lib/x86_64-linux-gnu/libquadmath.so.0 /usr/lib/libquadmath.so
|
| Now, the compile works.
| 
| Whoever is setting up R or R packages for Debian should try to insure
| that users don't have to apply fixes like the one above.

Nonsense.  Look at the compile logs of /hundreds/ of r-cran-* packages across
/more than a dozen/ architectures.  They build.

Look eg at http://packages.qa.debian.org/r/r-cran-rms.html and click on build
log, or go to https://buildd.debian.org/status/package.php?p=r-cran-rms

Funny how it builds on all of our machines witout intervention, eh?

Dirk

| 
| Cheers,
| Peter
| 
| _______________________________________________
| R-SIG-Debian mailing list
| R-SIG-Debian at r-project.org
| https://stat.ethz.ch/mailman/listinfo/r-sig-debian

-- 
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too
dark to read." -- Groucho Marx



More information about the R-SIG-Debian mailing list