nm and ld cannot find symbols in libblas.so and other files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
binutils (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
After the upgrade to 12.04, I am unable to link against the libblas.so (and friends), libatlas.so (and friends), libcblas.so, libopenblas.so, and other files. These are from different packages such as libblas-dev, libatlas-base-dev, libopenblas-dev, etc. I do not know if this is a problem with other libraries as well. I have been able to build and link most other software like normal, these are the only ones I find that are problematic.
When I type "nm /usr/lib/
However, when I type the command "objdump -T /usr/lib/
000000000000f860 g DF .text 0000000000000365 Base cblas_dgemm
000000000001cb20 g DF .text 000000000000033a Base cblas_zgemm
This suggests to me that the libraries are exporting symbols correctly, but that nm is not able to read them for some reason. Please correct me if this interpretation is incorrect.
Likewise, when I try to link against this library with gcc and ld, the linking happens with no errors, but I get this error at runtime:
"symbol lookup error: dynext/
ldd on my library doesn't even show that libblas.so is being linked, probably because ld couldn't find any symbols:
linux-vdso.so.1 => (0x00007fff551f
libc.so.6 => /lib/x86_
/lib64/
Notice that this same exact build and test sequence, with the same packages, does work perfectly on Ubuntu 11.10 and earlier (tests as far back as 10.04 seem to work in my VM).
Please let me know if I need to include any additional information.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: binutils 2.22-6ubuntu1
ProcVersionSign
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu6
Architecture: amd64
Date: Thu May 3 09:35:38 2012
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
SourcePackage: binutils
UpgradeStatus: Upgraded to precise on 2012-04-27 (5 days ago)
please provide your example