[BioC] -lm-lgomp (without a space) when building rMAT

Paul Hatton p.s.hatton at bham.ac.uk
Fri Nov 16 13:39:09 CET 2012


This is R2.15.2 on Scientific Linux 6.3 64-bit with gcc 4.7.2:

When attempting to build rMAT using:

R
  source("http://bioconductor.org/biocLite.R")
  biocLite("rMAT")

I get

g++ -shared -L/usr/local/lib64 -o rMAT.so BARFileData.o BARFileWriter.o BARReader.o BARWriter.o BPMAPFileData.o BPMAPfunctions.o DeclareAll.o FileIO.o FileWriter.o NormalizeProbes.o -lgsl -lgslcblas -lm-lgomp -L/gpfs/apps/R/R-2.15.2_gcc/lib64/R/lib -lR
/usr/bin/ld: cannot find -lm-lgomp

- note that this is an exact copy-and-paste and the g++ line really does have

... -lgslcblas -lm-lgomp -L/gpfs/apps/R/R-2.15.2_gcc/lib64/R/lib ...

with no space in -lm-lgomp which, as expected from this string, generates the failure

/usr/bin/ld: cannot find -lm-lgomp

Has anyone else seen this and worked around it?

Thanks

-- 
Paul Hatton
High Performance Computing and Visualisation Specialist
IT Services, The University of Birmingham
Ph: 0121-414-3994  Mob: 07785-977340  Skype: P.S.Hatton
[Service Manager, Birmingham Environment for Academic Research]
[Also Technical Director, IBM Visual and Spatial Technology Centre]



More information about the Bioconductor mailing list