Gentoo Archives: gentoo-science

From: "Honza Macháček" <Hloupy.Honza@×××××××.cz>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] liblapack.so.3 not found
Date: Fri, 25 Jan 2008 21:27:14
Message-Id: 479A5423.8040702@centrum.cz
In Reply to: RE: [gentoo-science] liblapack.so.3 not found by Alexandre Racine
1 Alexandre Racine wrote:
2
3 > I think I have found something. Doing exactly what I did on a 32bit
4 > machine works. But on my 64bit server, it does exactly the errors
5 > written below. Do you have a 32 or 64 machine? Oh and I don't know if
6 > the link can affect that...
7
8
9 First I have tried my 32 bit notebook. The binaries are undoubtedly
10 compiled for 32 bit architecture, so you will have hard time trying to
11 run them on 64 bits. As you can verify by strace, on a 64 bit machine
12 the EIGENSOFT binaries look for the lapack and blas libraries at
13 /usr/lib32 -- and you have to have some version of blas and lapack
14 compiled in 32 bit mode there.
15 Easier than getting all the required 32 bit compatibility libraries
16 is to compile the sources. Luckily I have 64 bit machine too, so I have
17 verified that the compilation works there.
18 Use my Makefile.gcc4. Firs delete all the precompiled 32 bit g77
19 object files:
20 > make -f Makefile.gcc4 clean
21 Then compile and link the sources:
22 > make -f Makefile.gcc4 all
23 I got several warnings but no error, and the resulting binaries seem to
24 work:
25 > ./smartpca
26 no parameters
27 ## smartpca version: 7521
28
29 With best regards
30 Honza Macháèek
31 --
32 gentoo-science@l.g.o mailing list

Replies

Subject Author
RE: [gentoo-science] liblapack.so.3 not found Alexandre Racine <Alexandre.Racine@×××××.org>