Gentoo Archives: gentoo-science

From: Alexandre Racine <Alexandre.Racine@×××××.org>
To: gentoo-science@l.g.o
Subject: RE: [gentoo-science] liblapack.so.3 not found
Date: Fri, 25 Jan 2008 21:02:27
Message-Id: C43CF0825BF59D4FBC1F6A2AF45EB88D6D12D9@cumulonimbus.RG.local
In Reply to: Re: [gentoo-science] liblapack.so.3 not found by "Honza Macháček"
1 Hi,
2
3 I think I have found something. Doing exactly what I did on a 32bit machine works. But on my 64bit server, it does exactly the errors written below. Do you have a 32 or 64 machine? Oh and I don't know if the link can affect that...
4
5 $ ls -lh /usr/
6 [...]
7 lrwxrwxrwx 1 root root 5 Jan 9 05:15 lib -> lib64
8 drwxr-xr-x 17 root root 19K Jan 11 11:05 lib32
9 drwxr-xr-x 102 root root 62K Jan 25 15:55 lib64
10
11
12 Thanks.
13
14
15 -----Original Message-----
16 From: Honza Machácek [mailto:Hloupy.Honza@×××××××.cz]
17 Sent: Fri 2008-01-25 15:16
18 To: gentoo-science@l.g.o
19 Subject: Re: [gentoo-science] liblapack.so.3 not found
20
21 Alexandre Racine wrote:
22
23 > ...
24 > lrwxrwxrwx 1 root root 36 Jan 25 10:10 /usr/lib/liblapack.so.3 ->
25 > /usr/lib/lapack/atlas/liblapack.so.0.0.0
26 >
27 > Starting the program again, I get this:
28 >
29 > $ ./smartpca
30 > ./smartpca: error while loading shared libraries: liblapack.so.3: cannot
31 > open shared object file: No such file or directory
32
33 Are you sure it does exactly that?
34 I cannot reproduce it. Whether I link /usr/lib/liblapack.so.3 to
35 /usr/lib/liblapack.so.0 or directly to
36 /usr/lib/lapack/atlas/liblapack.so.0.0.0 as you did, I get libblas.so.3,
37 not liblapack.so.3 not found. After linking /usr/lib/libblas.so.3 to
38 /usr/lib/libblas.so.0 I start smartpca without problem:
39
40 > ./smartpca
41 ./smartpca: error while loading shared libraries: liblapack.so.3: cannot
42 open shared object file: No such file or directory
43 > sudo ln -s /usr/lib/liblapack.so.0 /usr/lib/liblapack.so.3
44 > ./smartpca
45 ./smartpca: error while loading shared libraries: libblas.so.3: cannot
46 open shared object file: No such file or directory
47 > sudo ln -s /usr/lib/libblas.so.0 /usr/lib/libblas.so.3
48 > ./smartpca
49 no parameters
50 ## smartpca version: 7521
51
52 You can avoid such ugly symbolic links, if you compile the sources.
53 With the help of `pkg-config --libs lapack` I adapted Makefile.alt to
54 the attached Makefile.gcc4 and compiled the sources:
55
56 > make -f Makefile.gcc4 all
57
58 For now I don't feel like to pay those extra ten to sixty minutes to
59 write something like a first version of an ebuild, but I thing that it
60 might be quite straitforward.
61 With best regards
62 Honza Machácek

Attachments

File name MIME type
winmail.dat application/ms-tnef

Replies

Subject Author
Re: [gentoo-science] liblapack.so.3 not found "Honza Macháček" <Hloupy.Honza@×××××××.cz>