Question: make: *** [] Error 1
gravatar for mictadlo
3.4 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,


shortread • 614 views
ADD COMMENTlink modified 3.4 years ago by Martin Morgan ♦♦ 24k • written 3.4 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 3.4 years ago by Martin Morgan ♦♦ 24k
Please log in to add an answer.


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