Description of problem:
64-bit machines (particularly x86-64) don't have to possibility to install the 32-bit version of the package. That is needed because glibc-utils contains libmemusage.so. Running memusage on x86-64 on a 32-bit binary won't work.
Version-Release number of selected component (if applicable):
2.14 and everything because
Steps to Reproduce:
1.create 32-bit binary
2.run memusage binary
ERROR: ld.so: object '/usr/$LIB/libmemusage.so' from LD_PRELOAD cannot be preloaded: ignored.
No message, it just works.
I tried installing the 32-bit on a 64-bit machine, and it won't work since /usr/bin/mtrace differs (the address widths printed are different). It would work if we could split out the DSO's from this package into glibc-utils-libs and leave the correct scripts on for the system in question.
Created attachment 523672 [details]
patch to spec
I've attached a patch which resolves this. Let me know if this is OK to push.
Comment on attachment 523672 [details]
patch to spec
That patch does not work (has git garbage interspersed from merge conflicts between master and f16 where I see most development has been happening lately)
Moreover, the problem is fixed in the f16 branch by having the libraries included in the (main) glibc pacakge so that we get around this issue.
HEAD however is broken, as is F15. See http://koji.fedoraproject.org/koji/rpminfo?rpmID=2690378
RHEL6 is also broken, but I have a separate support case for that.
glibc-2.14.90-12.999 has been submitted as an update for Fedora 16.
glibc-2.14.90-12.999 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.