unable to install cvxopt on centos 6 x64- cannot find -llapack

Showing 1-3 of 3 messages
unable to install cvxopt on centos 6 x64- cannot find -llapack Arvind 11/15/11 4:11 AM
Hello,

I am trying to install CVXOPT on my Linux x64 CentOS 6 system-
even though I have installed BLAS and LAPACK and I can see the libs
for those in /usr/lib64, when I run "setup.py" to try and install
CVXOPT, I get the following error/log --


[root@localhost src]# python setup.py install
running install
running build
running build_py
running build_ext
building 'base' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/
include/python2.6 -c C/base.c -o build/temp.linux-x86_64-2.6/C/base.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/
include/python2.6 -c C/dense.c -o build/temp.linux-x86_64-2.6/C/
dense.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/
include/python2.6 -c C/sparse.c -o build/temp.linux-x86_64-2.6/C/
sparse.o
gcc -pthread -shared build/temp.linux-x86_64-2.6/C/base.o build/
temp.linux-x86_64-2.6/C/dense.o build/temp.linux-x86_64-2.6/C/sparse.o
-L/usr/lib64 -L/usr/lib64 -lm -llapack -lblas -lpython2.6 -o build/
lib.linux-x86_64-2.6/cvxopt/base.so
/usr/bin/ld: cannot find -llapack
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

Any help on resolving this problem, would be appreciated...

Regards,
Arvind.

Re: unable to install cvxopt on centos 6 x64- cannot find -llapack Martin 11/16/11 12:28 AM
Hi,

It looks like the -m64 flag is missing in the line concerning base.so. I don't know if this makes a difference on a 64 bit system, but perhaps ld is therefore looking for a 32bit lapack library?

Martin
Re: unable to install cvxopt on centos 6 x64- cannot find -llapack Prasanna Rajagopal 7/3/13 1:17 PM
Hi, Aravind. I'm having the same problem. Were you able to overcome this? Please advise as soon as possible, I'm on a deadline.

Thank you,
Prasanna.