Summary: | pango failed with /lib64/libm.a(k_standard.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libm.a: could not read symbols: Bad value | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alessandro Surace <zioalex> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | ssuominen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
buld.log
emerge --info environment |
Description
Alessandro Surace
2012-03-21 09:42:47 UTC
Created attachment 306111 [details]
emerge --info
Created attachment 306115 [details]
environment
Provide outputs of $ ls -ld /usr/lib/libm.so* /lib/libm.so* $ file /lib/libm*.so* $ ls -ld /lib /lib64 /usr/lib /usr/lib64 In other words, verifying the correct symlinks are in place and libm.so is available and working That is wornderful! Some day ago I have relocated /usr/lib64 to another filesystem. All the relative symlinks to /lib64 was failed . I've recreated all the symlinks and now pango has been build correctly. Can you explain how do you diagnose the problem from that error!?! I can't understand. (In reply to comment #4) > That is wornderful! > > Some day ago I have relocated /usr/lib64 to another filesystem. > > All the relative symlinks to /lib64 was failed . > > I've recreated all the symlinks and now pango has been build correctly. > > Can you explain how do you diagnose the problem from that error!?! > > I can't understand. From this: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libm.a If the compiler can't find the shared library, libm.so, when linking with -lm, it will fallback to the static archive, libm.a So the first thing that occured to me was: Why would pango be linking to the static archive? No reason. Where did his shared library go? ;-) Closing then Thanks for your explanation |