Bug 189642
Summary: | /usr/lib/sse2 path not added to ld.so.conf | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | petrosyan |
Component: | atlas | Assignee: | Quentin Spencer <qspencer> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5 | CC: | extras-qa |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-04-22 03:52:13 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
petrosyan
2006-04-22 00:22:17 UTC
This is expected behavior. Even if you manually install a config file in /etc/ld.so.conf.d and run ldconfig, you will still get the same behavior (I tried this with the configure script for octave). I'm not an expert on this, but it appears that the linker does not look in /usr/lib/sse2 at compile time, but it does at run time. In order to detect BLAS at compile time, you need to install blas-devel (note that blas-devel is a build dependency of octave, but it is possible to install octave without blas if atlas is installed). While installing blas-devel will also install blas, at run time the linker will still load the atlas blas library. For example, on my system, I have three packages with blas installed, blas, atlas, and atlas-sse2 (in /usr/lib /usr/lib/atlas and /usr/lib/sse2, respectively). With octave installed, the command "ldd /usr/bin/octave | grep blas" gives: libblas.so.3 => /usr/lib/sse2/libblas.so.3 (0x0373a000) Indeed if atlas-sse2 is installed then at runtime the application links to sse2 libraries. So the only problem then is that after installing atlas-sse2-devel ./configure scripts can't detect any BLAS library. would making atlas-sse2-devel depend on blas-devel being installed, be a good solution? Yes, I could do that. I'll add it to the next release, but I probably won't do a release just for this. |