[yt-dev] [yt_analysis/yt] install_script builds lapack without -fPIC (issue #495)

Kacper Kowalik issues-reply at bitbucket.org
Wed Feb 6 06:21:13 PST 2013


--- you can reply above this line ---

New issue 495: install_script builds lapack without -fPIC
https://bitbucket.org/yt_analysis/yt/issue/495/install_script-builds-lapack-without-fpic

Kacper Kowalik:

As reported on #yt by clovell numpy fails to link with lapack installed using `install_script.sh` with following error:


```
#!bash

Installing numpy-1.6.1 (arguments: 'numpy-1.6.1 --fcompiler=gnu95')
********************************************
        FAILURE REPORT:
********************************************

gcc: numpy/linalg/lapack_litemodule.c
gcc: numpy/linalg/python_xerbla.c
/usr/bin/gfortran -Wall -Wall -shared build/temp.linux-x86_64-2.7/numpy/linalg/lapack_litemodule.o build/temp.linux-x86_64-2.7/numpy/linalg/python_xerbla.o -L/home/chris/Documents/enzo/yt/src/lapack-3.4.2 -L/home/chris/Documents/enzo/yt/src/BLAS -Lbuild/temp.linux-x86_64-2.7 -llapack -lfblas -lgfortran -o build/lib.linux-x86_64-2.7/numpy/linalg/lapack_lite.so
/usr/bin/ld: /home/chris/Documents/enzo/yt/src/lapack-3.4.2/liblapack.a(dgeev.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/home/chris/Documents/enzo/yt/src/lapack-3.4.2/liblapack.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
```


--

This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.



More information about the yt-dev mailing list