[Debian] link error with neurospin/bindings/linalg.so
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NIPY |
New
|
Undecided
|
Unassigned |
Bug Description
peter green <email address hidden> Sat, Jul 4, 2009 at 7:30 PM
Reply-To: peter green <email address hidden>, <email address hidden>
To: <email address hidden>
I tested this issue in my sid amd64 chroot as user nobody with a nonexistant homedir.
The homedir issue was easy enough to fix but then the build failed with what appeared to be problems caused by lack of a fortran compiler so I added gfortran to the build-dependencies and installed it.
however I then got a load of undefined reference errors (the last couple of which are copied below) and a failure to link
/nobody/
rr_SetString'
/usr/lib/
in':
(.text+0x28): undefined reference to `MAIN__'
collect2: ld returned 1 exit status
error: Command "/usr/bin/gfortran -Wall /nobody/
ux-x86_
ipy-0.1.
-latlas -llapack -lf77blas -lcblas -latlas -lgfortran -o /nobody/
/./build/
t status 1
make: *** [debian/
dpkg-buildpackage: error: debian/rules build gave error exit status 2
nobody@
I have attatched a patch with the changes I have made but have no idea how to troubleshoot this link error.
Were the lapack and f77blas libraries built with gfortran? Are you using a site.cfg file? Which python version are you running? Did you try to build scipy on the same environnement?