Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problem with cblas libraries
Date: Fri, 26 Aug 2011 21:21:37
Message-Id: 3590927.sXiB4Um2sz@weird
In Reply to: [gentoo-user] Problem with cblas libraries by denis cohen
1 denis cohen writes:
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
6 I unmerged eselect-cblas and eselect-blas when I had similar problems, and I
7 think also {blas,cblas}-reference. The eselect packages got remerged
8 automatically, and some block I do not remember remained, but after some
9 days, a deep world update finally was working again.
10
11 > Not sure that was a good idea because now, even if I've reinstalled
12 > these packages,
13 > I am having several new problems:
14 >
15 > - compiling gcc with the gsl library spits out errors like:
16 > g++ -L/usr/local/lib -lm -lgsl exact.o
17 > /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libgsl.so:
18 > undefined reference to `cblas_ctrmv'
19 [...]
20 > and so on.......
21 >
22 > - still can't re-emerge packages like gsl and gmsh. For example, for gmsh
23 > I get; .....
24 > [100%] Building CXX object
25 > CMakeFiles/gmsh.dir/contrib/bamg/bamglib/MeshDraw.cpp.o
26 > [100%] Building CXX object
27 > CMakeFiles/gmsh.dir/contrib/bamg/bamglib/MeshQuad.cpp.o
28 > [100%] Building CXX object
29 > CMakeFiles/gmsh.dir/contrib/bamg/bamglib/MeshWrite.cpp.o
30 > [100%] Building CXX object
31 > CMakeFiles/gmsh.dir/contrib/bamg/bamglib/Meshio.cpp.o [100%] Building CXX
32 > object
33 > CMakeFiles/gmsh.dir/contrib/bamg/bamglib/QuadTree.cpp.o
34 > make[2]: *** No rule to make target `/usr/lib64/libcblas.so', needed
35 > by `gmsh'. Stop.
36
37 This looks strange. A target in the root file system? Here the log continues
38 like this:
39
40 [100%] Building CXX object
41 CMakeFiles/gmsh.dir/contrib/bamg/bamglib/Meshio.cpp.o
42 [100%] Building CXX object
43 CMakeFiles/gmsh.dir/contrib/bamg/bamglib/QuadTree.cpp.o
44 [100%] Building CXX object
45 CMakeFiles/gmsh.dir/contrib/bamg/bamglib/SetOfE4.cpp.o
46 Linking CXX executable gmsh
47 [100%] Built target gmsh
48 >>> Source compiled.
49 >>> Test phase [not enabled]: sci-libs/gmsh-2.5.0
50
51
52
53 > Does anyone have an idea of how solve this problem?
54
55 No. All I can say is that I just emerged gmsh without problems on ~amd64,
56 both with and without the blas USE flag. The other USE flags are those:
57 Installed versions: 2.5.0{tbz2}(23:10:59 26.08.2011)(X blas jpeg png
58 zlib -cgns -chaco -doc -examples -lua -med -metis -mpi -netgen -opencascade
59 -petsc -taucs -tetgen)
60
61 Wonko