Question: make: *** [] Error 1
gravatar for mictadlo
2.1 years ago by
mictadlo0 wrote:


I got this error  `make: *** [] Error 1`  while installing ShortRead in the following way:

> source("")
> biocLite( "ShortRead" )
 -lz -fopenmp -L/usr/lib64/R/lib -lR
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.6/libgomp.a(env.o): relocation R_X86_64_32 against `gomp_global_icv' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgomp.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [] Error 1
ERROR: compilation failed for package ‘ShortRead’
* removing ‘/home/waterhouse/R/x86_64-pc-linux-gnu-library/3.2/ShortRead’

The downloaded source packages are in
Old packages: 'boot', 'MASS', 'Matrix', 'nlme', 'spatial', 'survival'
Update all/some/none? [a/s/n]: a

What did I do wrong?

Thank you in advance.

Best wishes,


ADD COMMENTlink modified 2.1 years ago by Martin Morgan ♦♦ 22k • written 2.1 years ago by mictadlo0

The error seems to be saying that libgomp.a was built as a static library, whereas R has been built (probably implicitly. configure has argument --enable-static with [default=no]) as a shared library. I think this type of error should have occurred when R itself was built, unless the compiler / some other part of the build toolchain has been updated in the mean time. How was R installed?.

ADD REPLYlink written 2.1 years ago by Martin Morgan ♦♦ 22k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 194 users visited in the last hour