-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object #65
Comments
Most probably you did not compile gflag, glog, ceres as shared libraries; the error does not seem to be related to ceres here but I think it's the root problem. I've recently updated the instructions Try re-compiling and installing the libraries after checking |
VictorLamoine, Thanks for your reply. I have went to the gflag, glog, ceres directory to do |
The install page for Ceres mentions some problems with SuiteSparse, see here. |
@shaun-edwards Thank you for your infomation. Yes, I doubt the Ceres not compiled as a shared library, so I re-installed it again after add the PPA, but how can I check it trully installed from the PPA? I am not familiar with this. Here is it is from the universe, dose it from PPA?? |
I suspect that is hardened builds, looks like, to me, that is a similar problem of http://answers.opencv.org/question/67149/error-building-opencv-300-with-ffmpeg/?answer=83697#post-id-83697 |
Any solutions? |
I also encounter this error, how to solve it? |
i solved this problem as below in cmakefile.txt |
Relocation R_X86_64_PC32 against undefined symbol , usually happens when LDFLAGS are set with hardening and CFLAGS not . |
@cumtchenchang @yangxh31 @sergiomb2 I've never seen this error. I'm not sure if you all have "fixed" it. If you think you have please submit a PR. I'll be glad to test it on my machine. I really don't understand the "hardening" or any what any of the set(BoostXX) commands might do. |
@drchrislewis when Fedora starts harden all packages [1], this error appears a lot and when I googled it I found this issue, is not a ROS specific problem. [1] |
Hello there:
I am using Hydro on Ubuntu 12.04 64 bit, and I have stucked on the
relocation R_X86_64_32 against .rodata.str1.1 can not be used when making a shared object
for couple of days, and still have no good solution, sounds like a platform problem. Here is what I have referenced:http://stackoverflow.com/questions/9637551/relocation-r-x86-64-32s-against-rodata-while-compiling-on-64-bit-platformcan you give me some advice, thanks!
The text was updated successfully, but these errors were encountered: