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