Gentoo Archives: gentoo-user

From: denis cohen <denis.cohen@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Problem with cblas libraries
Date: Fri, 26 Aug 2011 12:13:57
Message-Id: CAKf_S2JNr3GrMnh08NqHnGQGWnwbX=ofY7oMs113inQ=mx9M+Q@mail.gmail.com
1 Hello,
2
3 I recently removed some packages like blas-reference, cblas-reference,
4 and lapack-reference to get emerge to run (some blocking issues).
5 Not sure that was a good idea because now, even if I've reinstalled
6 these packages,
7 I am having several new problems:
8
9 - compiling gcc with the gsl library spits out errors like:
10 g++ -L/usr/local/lib -lm -lgsl exact.o
11 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libgsl.so:
12 undefined reference to `cblas_ctrmv'
13 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libgsl.so:
14 undefined reference to `cblas_zswap'
15 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libgsl.so:
16 undefined reference to `cblas_zsymm'
17 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libgsl.so:
18 undefined reference to `cblas_cgeru'
19 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libgsl.so:
20 undefined reference to `cblas_sgemm'
21 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libgsl.so:
22 undefined reference to `cblas_ctrsv'
23 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libgsl.so:
24 undefined reference to `cblas_sgemv'
25 and so on.......
26
27 - still can't re-emerge packages like gsl and gmsh. For example, for gmsh I get;
28 .....
29 [100%] Building CXX object
30 CMakeFiles/gmsh.dir/contrib/bamg/bamglib/MeshDraw.cpp.o
31 [100%] Building CXX object
32 CMakeFiles/gmsh.dir/contrib/bamg/bamglib/MeshQuad.cpp.o
33 [100%] Building CXX object
34 CMakeFiles/gmsh.dir/contrib/bamg/bamglib/MeshWrite.cpp.o
35 [100%] Building CXX object CMakeFiles/gmsh.dir/contrib/bamg/bamglib/Meshio.cpp.o
36 [100%] Building CXX object
37 CMakeFiles/gmsh.dir/contrib/bamg/bamglib/QuadTree.cpp.o
38 make[2]: *** No rule to make target `/usr/lib64/libcblas.so', needed
39 by `gmsh'. Stop.
40 make[2]: *** Waiting for unfinished jobs....
41 [100%] Building CXX object
42 CMakeFiles/gmsh.dir/contrib/bamg/bamglib/SetOfE4.cpp.o
43 make[1]: *** [CMakeFiles/gmsh.dir/all] Error 2
44 make: *** [all] Error 2
45 emake failed
46 * ERROR: sci-libs/gmsh-2.5.0 failed (compile phase):
47 * Make failed!
48 *
49 * Call stack:
50 * ebuild.sh, line 56: Called src_compile
51 * environment, line 2995: Called cmake-utils_src_compile
52 * environment, line 866: Called _execute_optionaly 'src_compile'
53 * environment, line 291: Called enable_cmake-utils_src_compile
54 * environment, line 1105: Called cmake-utils_src_make
55 * environment, line 885: Called die
56 * The specific snippet of code:
57 * emake "$@" || die "Make failed!";
58 *
59 * If you need support, post the output of 'emerge --info =sci-libs/gmsh-2.5.0',
60 * the complete build log and the output of 'emerge -pqv =sci-libs/gmsh-2.5.0'.
61 * This ebuild is from an overlay named 'science': '/var/lib/layman/science/'
62 * The complete build log is located at
63 '/var/tmp/portage/sci-libs/gmsh-2.5.0/temp/build.log'.
64 * The ebuild environment file is located at
65 '/var/tmp/portage/sci-libs/gmsh-2.5.0/temp/environment'.
66 * S: '/var/tmp/portage/sci-libs/gmsh-2.5.0/work/gmsh-2.5.0-source'
67
68 >>> Failed to emerge sci-libs/gmsh-2.5.0, Log file:
69
70 >>> '/var/tmp/portage/sci-libs/gmsh-2.5.0/temp/build.log'
71
72
73 /usr/lib64/libcblas.so is present:
74
75
76 Does anyone have an idea of how solve this problem?
77
78 I'd be glad to provide more details.
79
80 Thanks
81
82 Denis

Replies

Subject Author
Re: [gentoo-user] Problem with cblas libraries Helmut Jarausch <jarausch@××××××××××××××××.de>
[gentoo-user] Re: Problem with cblas libraries Gene Hannan <gjhannan@×××××.com>
Re: [gentoo-user] Problem with cblas libraries Alex Schuster <wonko@×××××××××.org>
Re: [gentoo-user] Problem with cblas libraries Valmor de Almeida <val.gentoo@×××××.com>