public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: denis cohen <denis.cohen@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Problem with cblas libraries
Date: Fri, 26 Aug 2011 14:12:35 +0200	[thread overview]
Message-ID: <CAKf_S2JNr3GrMnh08NqHnGQGWnwbX=ofY7oMs113inQ=mx9M+Q@mail.gmail.com> (raw)

Hello,

I recently removed some packages like blas-reference, cblas-reference,
and lapack-reference to get emerge to run (some blocking issues).
Not sure that was a good idea because now, even if I've reinstalled
these packages,
I am having several new problems:

- compiling gcc with the gsl library spits out errors like:
g++ -L/usr/local/lib -lm -lgsl  exact.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libgsl.so:
undefined reference to `cblas_ctrmv'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libgsl.so:
undefined reference to `cblas_zswap'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libgsl.so:
undefined reference to `cblas_zsymm'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libgsl.so:
undefined reference to `cblas_cgeru'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libgsl.so:
undefined reference to `cblas_sgemm'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libgsl.so:
undefined reference to `cblas_ctrsv'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libgsl.so:
undefined reference to `cblas_sgemv'
and so on.......

- still can't re-emerge packages like gsl and gmsh. For example, for gmsh I get;
.....
[100%] Building CXX object
CMakeFiles/gmsh.dir/contrib/bamg/bamglib/MeshDraw.cpp.o
[100%] Building CXX object
CMakeFiles/gmsh.dir/contrib/bamg/bamglib/MeshQuad.cpp.o
[100%] Building CXX object
CMakeFiles/gmsh.dir/contrib/bamg/bamglib/MeshWrite.cpp.o
[100%] Building CXX object CMakeFiles/gmsh.dir/contrib/bamg/bamglib/Meshio.cpp.o
[100%] Building CXX object
CMakeFiles/gmsh.dir/contrib/bamg/bamglib/QuadTree.cpp.o
make[2]: *** No rule to make target `/usr/lib64/libcblas.so', needed
by `gmsh'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[100%] Building CXX object
CMakeFiles/gmsh.dir/contrib/bamg/bamglib/SetOfE4.cpp.o
make[1]: *** [CMakeFiles/gmsh.dir/all] Error 2
make: *** [all] Error 2
emake failed
 * ERROR: sci-libs/gmsh-2.5.0 failed (compile phase):
 *   Make failed!
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2995:  Called cmake-utils_src_compile
 *   environment, line  866:  Called _execute_optionaly 'src_compile'
 *   environment, line  291:  Called enable_cmake-utils_src_compile
 *   environment, line 1105:  Called cmake-utils_src_make
 *   environment, line  885:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *
 * If you need support, post the output of 'emerge --info =sci-libs/gmsh-2.5.0',
 * the complete build log and the output of 'emerge -pqv =sci-libs/gmsh-2.5.0'.
 * This ebuild is from an overlay named 'science': '/var/lib/layman/science/'
 * The complete build log is located at
'/var/tmp/portage/sci-libs/gmsh-2.5.0/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/sci-libs/gmsh-2.5.0/temp/environment'.
 * S: '/var/tmp/portage/sci-libs/gmsh-2.5.0/work/gmsh-2.5.0-source'

>>> Failed to emerge sci-libs/gmsh-2.5.0, Log file:

>>>  '/var/tmp/portage/sci-libs/gmsh-2.5.0/temp/build.log'


/usr/lib64/libcblas.so is present:


Does anyone have an idea of how solve this problem?

I'd be glad to provide more details.

Thanks

Denis



             reply	other threads:[~2011-08-26 12:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-26 12:12 denis cohen [this message]
2011-08-26 15:36 ` [gentoo-user] Problem with cblas libraries Helmut Jarausch
2011-08-26 17:41 ` [gentoo-user] " Gene Hannan
2011-08-26 21:20 ` [gentoo-user] " Alex Schuster
2011-08-27 15:27 ` Valmor de Almeida
2011-08-27 16:34   ` Michael Mol
2011-08-30 22:15     ` denis cohen
2011-08-30 22:27       ` Michael Mol
2011-08-30 23:02       ` Alex Schuster
2011-08-30 23:14         ` denis cohen
2011-08-30 23:27           ` denis cohen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKf_S2JNr3GrMnh08NqHnGQGWnwbX=ofY7oMs113inQ=mx9M+Q@mail.gmail.com' \
    --to=denis.cohen@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox