Actions
Bug #1319
closedlink error with libcrypto++
% Done:
0%
Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
/usr/bin/ld: ./.libs/libglobal.a(libcommon_la-ceph_crypto.o): undefined reference to symbol 'CryptoPP::IteratedHashBase<unsigned int, CryptoPP::HashTransformation>::Restart()' /usr/bin/ld: note: 'CryptoPP::IteratedHashBase<unsigned int, CryptoPP::HashTransformation>::Restart()' is defined in DSO /usr/lib64/libcrypto++.so.8 so try adding it to the linker command line /usr/lib64/libcrypto++.so.8: could not read symbols: Invalid operation collect2: ld returned 1 exit status
This happens on kai, not other machines.
Updated by Greg Farnum almost 13 years ago
- Status changed from New to Resolved
I think it's because I'm running gcc 4.4.6 instead of 4.4.4 -- some difference in the behavior of --as-needed that's preventing libcommon.la from including proper references to libcrypto++. Adding libcrypto++ to the dependencies for librados-config fixes it, but I wanted to put it in the tracker for posterity, or in case we wanted to re-evaluate how we're using --as-needed.
Fixed in 94c3763954e49789b7ce20574409f479c3fe95da.
Actions