Menu

#162 -fPIC being ignored somewhere

Developer
closed-duplicate
5
2011-01-21
2010-11-11
No

Trying to 'make shared' in ATLAS/bld/lib gives me this error:

lib$ make shared
rm -f libatlas.so liblapack.so
make libatlas.so libf77blas.so libcblas.so liblapack.so
make[1]: Entering directory `/tmp/ATLAS-3.9.32-64gb-centos/bld/lib'
ld -melf_x86_64 -shared -soname /usr/local/lib/libatlas.so -o libatlas.so \
-rpath-link /usr/local/lib \
--whole-archive libatlas.a --no-whole-archive -lc -lpthread -lm
ld: libatlas.a(ATL_dgerk__900007.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
libatlas.a(ATL_dgerk__900007.o): could not read symbols: Bad value
make[1]: *** [libatlas.so] Error 1
make[1]: Leaving directory `/tmp/ATLAS-3.9.32-64gb-centos/bld/lib'
make: *** [shared] Error 2

...ATLAS 3.9.32 was configured with this line:
../configure --prefix=/usr/local -Fa alg -fPIC -b 64 -Ss flapack /home/akramer/lapack-3.2.1/SRC -Si latune 1 -Ss pmake 'make -j8'

...on a machine running Linux 2.6.20, centos 5.2.

If I install the libraries anyway, attempts to compile other code (R version 2.12.0) generate the same error because they require shared libraries.

Any advice welcome.

Discussion

  • R. Clint Whaley

    R. Clint Whaley - 2011-01-21

    Adam,

    You aren't supposed to submit the bug tracker: submit to the support tracker, and I will escalate to bug tracker if appropriate. I don't get autonotified of traffic on the bug tracker list, so I didn't see your message until now. This problem is a duplicate of the one I just opened myself :)
    https://sourceforge.net/tracker/?func=detail&aid=3163453&group_id=23725&atid=379482

    Monitor that guy for updates.

    Cheers,
    Clint

     
  • R. Clint Whaley

    R. Clint Whaley - 2011-01-21
    • assigned_to: nobody --> rwhaley
    • labels: 360137 --> Install problem
    • status: open --> closed-duplicate
     

Log in to post a comment.

MongoDB Logo MongoDB