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 20:17:14
Message-Id: 479A43B8.10600@centrum.cz
In Reply to: [gentoo-science] liblapack.so.3 not found by Alexandre Racine
1 Alexandre Racine wrote:
2
3 > ...
4 > lrwxrwxrwx 1 root root 36 Jan 25 10:10 /usr/lib/liblapack.so.3 ->
5 > /usr/lib/lapack/atlas/liblapack.so.0.0.0
6 >
7 > Starting the program again, I get this:
8 >
9 > $ ./smartpca
10 > ./smartpca: error while loading shared libraries: liblapack.so.3: cannot
11 > open shared object file: No such file or directory
12
13 Are you sure it does exactly that?
14 I cannot reproduce it. Whether I link /usr/lib/liblapack.so.3 to
15 /usr/lib/liblapack.so.0 or directly to
16 /usr/lib/lapack/atlas/liblapack.so.0.0.0 as you did, I get libblas.so.3,
17 not liblapack.so.3 not found. After linking /usr/lib/libblas.so.3 to
18 /usr/lib/libblas.so.0 I start smartpca without problem:
19
20 > ./smartpca
21 ./smartpca: error while loading shared libraries: liblapack.so.3: cannot
22 open shared object file: No such file or directory
23 > sudo ln -s /usr/lib/liblapack.so.0 /usr/lib/liblapack.so.3
24 > ./smartpca
25 ./smartpca: error while loading shared libraries: libblas.so.3: cannot
26 open shared object file: No such file or directory
27 > sudo ln -s /usr/lib/libblas.so.0 /usr/lib/libblas.so.3
28 > ./smartpca
29 no parameters
30 ## smartpca version: 7521
31
32 You can avoid such ugly symbolic links, if you compile the sources.
33 With the help of `pkg-config --libs lapack` I adapted Makefile.alt to
34 the attached Makefile.gcc4 and compiled the sources:
35
36 > make -f Makefile.gcc4 all
37
38 For now I don't feel like to pay those extra ten to sixty minutes to
39 write something like a first version of an ebuild, but I thing that it
40 might be quite straitforward.
41 With best regards
42 Honza Macháček

Attachments

File name MIME type
Makefile.gcc4 text/plain

Replies

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